Package io.serverlessworkflow.api.cron
Class Cron
- java.lang.Object
-
- io.serverlessworkflow.api.cron.Cron
-
- All Implemented Interfaces:
Serializable
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 StringgetExpression()Repeating interval (cron expression) describing when the workflow instance should be created (Required)StringgetValidUntil()Specific date and time (ISO 8601 format) when the cron expression invocation is no longer validvoidsetExpression(String expression)Repeating interval (cron expression) describing when the workflow instance should be created (Required)voidsetValidUntil(String validUntil)Specific date and time (ISO 8601 format) when the cron expression invocation is no longer validCronwithExpression(String expression)CronwithValidUntil(String validUntil)
-
-
-
Constructor Detail
-
Cron
public Cron()
No args constructor for use in serialization
-
Cron
public Cron(String expression)
- Parameters:
expression-
-
-
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
-
-