Class RequirementAllowance
java.lang.Object
co.yellowdog.platform.model.Allowance
co.yellowdog.platform.model.RequirementAllowance
- All Implemented Interfaces:
Identified
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder that can be used to build a new RequirementAllowance. -
Field Summary
Fields inherited from class Allowance
DESCRIPTION_MAX_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionRequirementAllowance(String description, Instant effectiveFrom, Instant effectiveUntil, int allowedHours, Integer boostHours, AllowanceResetType resetType, Integer resetInterval, AllowanceLimitEnforcement limitEnforcement, Integer hardLimitGraceMinutes, List<InstanceStatus> monitoredStatuses, String requirementId) -
Method Summary
Modifier and TypeMethodDescriptionstatic RequirementAllowance.Builderbuilder()protected booleanbooleaninthashCode()voidsetRequirementId(String requirementId) toString()Methods inherited from class 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
-
RequirementAllowance
public RequirementAllowance(String description, Instant effectiveFrom, Instant effectiveUntil, int allowedHours, Integer boostHours, AllowanceResetType resetType, Integer resetInterval, AllowanceLimitEnforcement limitEnforcement, Integer hardLimitGraceMinutes, List<InstanceStatus> monitoredStatuses, String requirementId)
-
-
Method Details
-
builder
-
getRequirementId
-
setRequirementId
-
toString
-
equals
-
canEqual
-
hashCode
-