Class GraphNode.EscalationRule
- java.lang.Object
-
- org.nuxeo.ecm.platform.routing.core.impl.GraphNode.EscalationRule
-
- All Implemented Interfaces:
Comparable<GraphNode.EscalationRule>
- Enclosing interface:
- GraphNode
public static class GraphNode.EscalationRule extends Object implements Comparable<GraphNode.EscalationRule>
- Since:
- 5.7.2
-
-
Field Summary
Fields Modifier and Type Field Description protected String
chain
protected String
condition
protected boolean
executed
protected String
id
protected String
label
protected Calendar
lastExcutionTime
protected boolean
multipleExecution
protected GraphNode
node
protected MapProperty
prop
-
Constructor Summary
Constructors Constructor Description EscalationRule(GraphNode node, Property p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(GraphNode.EscalationRule o)
String
getChain()
String
getCondition()
String
getId()
String
getLabel()
Calendar
getLastExecutionTime()
GraphNode
getNode()
boolean
isExecuted()
boolean
isMultipleExecution()
void
setExecuted(boolean executed)
protected void
setExecutionTime(Calendar time)
-
-
-
Field Detail
-
id
protected String id
-
label
protected String label
-
multipleExecution
protected boolean multipleExecution
-
condition
protected String condition
-
executed
protected boolean executed
-
chain
protected String chain
-
prop
protected MapProperty prop
-
node
protected GraphNode node
-
lastExcutionTime
protected Calendar lastExcutionTime
- Since:
- 5.9.3
-
-
Method Detail
-
compareTo
public int compareTo(GraphNode.EscalationRule o)
- Specified by:
compareTo
in interfaceComparable<GraphNode.EscalationRule>
-
getLabel
public String getLabel()
-
getChain
public String getChain()
-
getNode
public GraphNode getNode()
-
getCondition
public String getCondition()
- Since:
- 2023.0
-
setExecuted
public void setExecuted(boolean executed)
-
setExecutionTime
protected void setExecutionTime(Calendar time)
-
isExecuted
public boolean isExecuted()
-
getId
public String getId()
-
isMultipleExecution
public boolean isMultipleExecution()
-
getLastExecutionTime
public Calendar getLastExecutionTime()
- Since:
- 5.9.3 Returns 'null' if the node was not executed, or the executed date was not computed ( for rules created before 5.9.3)
-
-