Class TimeOutActionImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.model.TimeOutActionImpl
-
- All Implemented Interfaces:
Serializable
,TimeOutAction
public class TimeOutActionImpl extends Object implements TimeOutAction, Serializable
Representation of the <timeoutAction> element of a Process Model.- Author:
- Ludovic Bertin
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeOutActionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
getAction()
return the Action to be launchItem
getDateItem()
Get date item from data folder used to determine when the action is launched.String
getDelay()
Get delay after which the action is launched.int
getOrder()
Get timeoutAction order.void
setAction(Action action)
void
setDelay(String delay)
void
setOrder(int order)
-
-
-
Method Detail
-
getAction
public Action getAction()
Description copied from interface:TimeOutAction
return the Action to be launch- Specified by:
getAction
in interfaceTimeOutAction
- Returns:
- the action
-
setAction
public void setAction(Action action)
-
setDelay
public void setDelay(String delay)
-
setOrder
public void setOrder(int order)
-
getDelay
public String getDelay()
Description copied from interface:TimeOutAction
Get delay after which the action is launched. (format : #d delay in days, #h delay in hours)- Specified by:
getDelay
in interfaceTimeOutAction
- Returns:
- delay as String
-
getOrder
public int getOrder()
Description copied from interface:TimeOutAction
Get timeoutAction order. As several timeout might be defined, an order is set.- Specified by:
getOrder
in interfaceTimeOutAction
- Returns:
- timeout order
-
getDateItem
public Item getDateItem()
Description copied from interface:TimeOutAction
Get date item from data folder used to determine when the action is launched.- Specified by:
getDateItem
in interfaceTimeOutAction
- Returns:
- item
-
-