Package de.fraunhofer.iese.mydata.client
Class SyncNotification
java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.client.SyncNotification
-
Constructor Summary
ConstructorDescriptiondefault constructorSyncNotification
(ClientId clientId) assign a clientId to the current SynNotification -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeployedPolicyVersion
(@NonNull PolicyId policyId, @NonNull Long policyVersion) Add in the map of policyIds the current versionvoid
addDeployedTimerVersion
(@NonNull TimerId timerId, @NonNull Long timerVersion) Add in the map of TimerIds the current versionMethods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
Constructor Details
-
SyncNotification
assign a clientId to the current SynNotification- Parameters:
clientId
-
-
SyncNotification
public SyncNotification()default constructor
-
-
Method Details
-
addDeployedPolicyVersion
public void addDeployedPolicyVersion(@NonNull @NonNull PolicyId policyId, @NonNull @NonNull Long policyVersion) Add in the map of policyIds the current version- Parameters:
policyId
-policyVersion
-
-
getDeployedPolicyVersions
- Returns:
- the map of policyId-policyVersion
-
addDeployedTimerVersion
public void addDeployedTimerVersion(@NonNull @NonNull TimerId timerId, @NonNull @NonNull Long timerVersion) Add in the map of TimerIds the current version- Parameters:
timerId
-timerVersion
-
-
getDeployedTimerVersions
- Returns:
- the map of timerId-policyVersion
-