org.optaplanner.examples.nurserostering.domain.contract
public enum ContractLineType extends Enum<ContractLineType>
Modifier and Type | Method and Description |
---|---|
static ContractLineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContractLineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContractLineType SINGLE_ASSIGNMENT_PER_DAY
public static final ContractLineType TOTAL_ASSIGNMENTS
public static final ContractLineType CONSECUTIVE_WORKING_DAYS
public static final ContractLineType CONSECUTIVE_FREE_DAYS
public static final ContractLineType CONSECUTIVE_WORKING_WEEKENDS
public static final ContractLineType TOTAL_WORKING_WEEKENDS_IN_FOUR_WEEKS
public static final ContractLineType COMPLETE_WEEKENDS
public static final ContractLineType IDENTICAL_SHIFT_TYPES_DURING_WEEKEND
public static final ContractLineType NO_NIGHT_SHIFT_BEFORE_FREE_WEEKEND
public static final ContractLineType ALTERNATIVE_SKILL_CATEGORY
public static ContractLineType[] values()
for (ContractLineType c : ContractLineType.values()) System.out.println(c);
public static ContractLineType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.