Class SyncNotification


  • @Entity
    public class SyncNotification
    extends MyDataEntity
    • Constructor Detail

      • SyncNotification

        public SyncNotification​(ClientId clientId)
        assign a clientId to the current SynNotification
        Parameters:
        clientId -
      • SyncNotification

        public SyncNotification()
        default constructor
    • Method Detail

      • 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

        public Map<PolicyId,​Long> 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

        public Map<TimerId,​Long> getDeployedTimerVersions()
        Returns:
        the map of timerId-policyVersion