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,com.novomind.ecom.common.api.persistence.WithId
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 TypeMethodDescriptionReturns an unmodifiable cached view of the assigned tenants.booleanReturns true if this pause reason is enabled, false otherwise.booleanReturns true if this pause reason is interrupting the work time.Methods inherited from interface com.novomind.ecom.common.api.attribute.Described
getDescriptionMethods inherited from interface com.novomind.ecom.common.api.persistence.Entity
compareTo, isDeleted, isNotDeletedMethods inherited from interface com.novomind.ecom.common.api.attribute.Named
getNameMethods inherited from interface com.novomind.ecom.common.api.persistence.WithId
getId
-
Method Details
-
isEnabled
boolean isEnabled()Returns true if this pause reason is enabled, false otherwise.- Returns:
- true if this pause reason is enabled, false otherwise
- Since:
- 11.16
-
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.- Returns:
- true if this pause reason is interrupting the work time
- Since:
- 11.34
-