Package io.serverlessworkflow.api.sleep
Class Sleep
- java.lang.Object
-
- io.serverlessworkflow.api.sleep.Sleep
-
- All Implemented Interfaces:
Serializable
public class Sleep extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAfter()Amount of time (ISO 8601 duration format) to sleep after function/subflow invocation.StringgetBefore()Amount of time (ISO 8601 duration format) to sleep before function/subflow invocation.voidsetAfter(String after)Amount of time (ISO 8601 duration format) to sleep after function/subflow invocation.voidsetBefore(String before)Amount of time (ISO 8601 duration format) to sleep before function/subflow invocation.SleepwithAfter(String after)SleepwithBefore(String before)
-
-
-
Method Detail
-
getBefore
public String getBefore()
Amount of time (ISO 8601 duration format) to sleep before function/subflow invocation. Does not apply if 'eventRef' is defined. (Required)
-
setBefore
public void setBefore(String before)
Amount of time (ISO 8601 duration format) to sleep before function/subflow invocation. Does not apply if 'eventRef' is defined. (Required)
-
getAfter
public String getAfter()
Amount of time (ISO 8601 duration format) to sleep after function/subflow invocation. Does not apply if 'eventRef' is defined. (Required)
-
setAfter
public void setAfter(String after)
Amount of time (ISO 8601 duration format) to sleep after function/subflow invocation. Does not apply if 'eventRef' is defined. (Required)
-
-