|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TrackerItemEscalationRuleDto.Anchor>
com.intland.codebeamer.persistence.dto.TrackerItemEscalationRuleDto.Anchor
public static enum TrackerItemEscalationRuleDto.Anchor
The anchor defines how to compute the escalation firing date and time based on the specified time offset and the (Date) value/last modification date of the tracker item anchor field
Enum Constant Summary | |
---|---|
AFTER
The offset is added to the value of the specified field, which must contain a Date |
|
AFTER_LAST_ESCALATION
The offset is added to the date of the last/previous tracker item escalation (if any) |
|
AFTER_LAST_MODIFICATION
The offset is added to the last modification date of the specified field, which can be any field |
|
BEFORE
The offset is subtracted from the value of the specified field, which must contain a Date |
Method Summary | |
---|---|
boolean |
evaluate(java.lang.Object object)
|
java.lang.Integer |
getFieldType()
Get the type of fields this anchor is applicable for |
boolean |
isApplicable(TrackerLayoutLabelDto field)
Check if this type of anchor is applicable for the specified tracker item field |
static TrackerItemEscalationRuleDto.Anchor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TrackerItemEscalationRuleDto.Anchor[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TrackerItemEscalationRuleDto.Anchor BEFORE
public static final TrackerItemEscalationRuleDto.Anchor AFTER
public static final TrackerItemEscalationRuleDto.Anchor AFTER_LAST_MODIFICATION
public static final TrackerItemEscalationRuleDto.Anchor AFTER_LAST_ESCALATION
Method Detail |
---|
public static final TrackerItemEscalationRuleDto.Anchor[] values()
for(TrackerItemEscalationRuleDto.Anchor c : TrackerItemEscalationRuleDto.Anchor.values()) System.out.println(c);
public static TrackerItemEscalationRuleDto.Anchor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.Integer getFieldType()
public boolean isApplicable(TrackerLayoutLabelDto field)
field
- to check
public boolean evaluate(java.lang.Object object)
evaluate
in interface org.apache.commons.collections.Predicate
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |