Interface PauseReason

  • All Superinterfaces:
    java.lang.Comparable<com.novomind.ecom.common.api.persistence.Entity>, com.novomind.ecom.common.api.attribute.Described, com.novomind.ecom.common.api.persistence.Entity, MasterEntity, com.novomind.ecom.common.api.attribute.Named

    public interface PauseReason
    extends MasterEntity, com.novomind.ecom.common.api.attribute.Named, com.novomind.ecom.common.api.attribute.Described
    A PauseReason represents the reason for a pause of an agent.
    Since:
    11.16
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Set<Tenant> getAssignedTenants()
      Returns an unmodifiable cached view of the assigned tenants.
      boolean isEnabled()  
      boolean isWorkTimeBreak()  
      • Methods inherited from interface com.novomind.ecom.common.api.attribute.Described

        getDescription
      • Methods inherited from interface com.novomind.ecom.common.api.persistence.Entity

        compareTo, getId, isDeleted, isNotDeleted
      • Methods inherited from interface com.novomind.ecom.common.api.attribute.Named

        getName
    • Method Detail

      • isEnabled

        boolean isEnabled()
        Returns:
        true if this pause reason is enabled, false otherwise
        Since:
        11.16
      • getAssignedTenants

        java.util.Set<Tenant> getAssignedTenants()
        Returns an unmodifiable cached view of the assigned tenants.
        The returned set is not updated when assignments change.
        Returns:
        the current assigned tenants as an unmodifiable set
        Since:
        11.16
      • isWorkTimeBreak

        boolean isWorkTimeBreak()
        Returns:
        true if this pause reason is interrupting the work time
        Since:
        11.34