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 String
getAfter()
Amount of time (ISO 8601 duration format) to sleep after function/subflow invocation.String
getBefore()
Amount of time (ISO 8601 duration format) to sleep before function/subflow invocation.void
setAfter(String after)
Amount of time (ISO 8601 duration format) to sleep after function/subflow invocation.void
setBefore(String before)
Amount of time (ISO 8601 duration format) to sleep before function/subflow invocation.Sleep
withAfter(String after)
Sleep
withBefore(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)
-
-