Interface PauseReason

All Superinterfaces:
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

    Modifier and Type
    Method
    Description
    Returns an unmodifiable cached view of the assigned tenants.
    boolean
     
    boolean
     

    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 Details

    • isEnabled

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

      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