Package io.serverlessworkflow.api.cron
Class Cron
- java.lang.Object
-
- io.serverlessworkflow.api.cron.Cron
-
- All Implemented Interfaces:
Serializable
@Generated("jsonschema2pojo") public class Cron extends Object implements Serializable
Schedule cron definition- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExpression()
Repeating interval (cron expression) describing when the workflow instance should be created (Required)String
getValidUntil()
Specific date and time (ISO 8601 format) when the cron expression invocation is no longer validvoid
setExpression(String expression)
Repeating interval (cron expression) describing when the workflow instance should be created (Required)void
setValidUntil(String validUntil)
Specific date and time (ISO 8601 format) when the cron expression invocation is no longer validCron
withExpression(String expression)
Cron
withValidUntil(String validUntil)
-
-
-
Constructor Detail
-
Cron
public Cron()
No args constructor for use in serialization
-
Cron
public Cron(String expression)
- Parameters:
expression
- Repeating interval (cron expression) describing when the workflow instance should be created.
-
-
Method Detail
-
getExpression
public String getExpression()
Repeating interval (cron expression) describing when the workflow instance should be created (Required)
-
setExpression
public void setExpression(String expression)
Repeating interval (cron expression) describing when the workflow instance should be created (Required)
-
getValidUntil
public String getValidUntil()
Specific date and time (ISO 8601 format) when the cron expression invocation is no longer valid
-
setValidUntil
public void setValidUntil(String validUntil)
Specific date and time (ISO 8601 format) when the cron expression invocation is no longer valid
-
-