Class RequirementsAllowance
java.lang.Object
co.yellowdog.platform.model.Allowance
co.yellowdog.platform.model.RequirementsAllowance
- All Implemented Interfaces:
Identified
@ValidatedBy(RequirementsAllowanceValidator.class)
public class RequirementsAllowance
extends Allowance
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new RequirementAllowance. -
Field Summary
Fields inherited from class co.yellowdog.platform.model.Allowance
DESCRIPTION_MAX_LENGTH
-
Constructor Summary
ConstructorsConstructorDescriptionRequirementsAllowance
(String description, Instant effectiveFrom, Instant effectiveUntil, int allowedHours, Integer boostHours, AllowanceResetType resetType, Integer resetInterval, AllowanceLimitEnforcement limitEnforcement, Integer hardLimitGraceMinutes, List<InstanceStatus> monitoredStatuses, String requirementCreatedFromId, String requirementCreatedById, String namespace, String tag) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getTag()
int
hashCode()
void
setNamespace
(String namespace) void
setRequirementCreatedById
(String requirementCreatedById) void
setRequirementCreatedFromId
(String requirementCreatedFromId) void
toString()
Methods inherited from class co.yellowdog.platform.model.Allowance
getAllowedHours, getBoostHours, getCreatedById, getDescription, getEffectiveFrom, getEffectiveUntil, getHardLimitGraceMinutes, getId, getLimitEnforcement, getMonitoredStatuses, getRemainingHours, getResetInterval, getResetType, setAllowedHours, setBoostHours, setCreatedById, setDescription, setEffectiveFrom, setEffectiveUntil, setHardLimitGraceMinutes, setId, setLimitEnforcement, setMonitoredStatuses, setRemainingHours, setResetInterval, setResetType
-
Constructor Details
-
RequirementsAllowance
public RequirementsAllowance(String description, Instant effectiveFrom, Instant effectiveUntil, int allowedHours, Integer boostHours, AllowanceResetType resetType, Integer resetInterval, AllowanceLimitEnforcement limitEnforcement, Integer hardLimitGraceMinutes, List<InstanceStatus> monitoredStatuses, String requirementCreatedFromId, String requirementCreatedById, String namespace, String tag)
-
-
Method Details
-
builder
-
getRequirementCreatedFromId
-
getRequirementCreatedById
-
getNamespace
-
getTag
-
setRequirementCreatedFromId
-
setRequirementCreatedById
-
setNamespace
-
setTag
-
toString
-
equals
-
canEqual
-
hashCode
-