public class Repeat extends Object implements Serializable
| Constructor and Description |
|---|
Repeat() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExpression()
Expression evaluated against SubFlow state data.
|
int |
getMax()
Sets the maximum amount of repeat executions
|
List<String> |
getStopOnEvents()
List referencing defined consumed workflow events.
|
boolean |
isCheckBefore()
If true, the expression is evaluated before each repeat execution, if false the expression is evaluated after each repeat execution
|
boolean |
isContinueOnError()
If true, repeats executions in a case unhandled errors propagate from the sub-workflow to this state
|
void |
setCheckBefore(boolean checkBefore)
If true, the expression is evaluated before each repeat execution, if false the expression is evaluated after each repeat execution
|
void |
setContinueOnError(boolean continueOnError)
If true, repeats executions in a case unhandled errors propagate from the sub-workflow to this state
|
void |
setExpression(String expression)
Expression evaluated against SubFlow state data.
|
void |
setMax(int max)
Sets the maximum amount of repeat executions
|
void |
setStopOnEvents(List<String> stopOnEvents)
List referencing defined consumed workflow events.
|
Repeat |
withCheckBefore(boolean checkBefore) |
Repeat |
withContinueOnError(boolean continueOnError) |
Repeat |
withExpression(String expression) |
Repeat |
withMax(int max) |
Repeat |
withStopOnEvents(List<String> stopOnEvents) |
public String getExpression()
public void setExpression(String expression)
public boolean isCheckBefore()
public void setCheckBefore(boolean checkBefore)
public Repeat withCheckBefore(boolean checkBefore)
public int getMax()
public void setMax(int max)
public Repeat withMax(int max)
public boolean isContinueOnError()
public void setContinueOnError(boolean continueOnError)
public Repeat withContinueOnError(boolean continueOnError)
public List<String> getStopOnEvents()
public void setStopOnEvents(List<String> stopOnEvents)
Copyright © 2020–2023 CNCF. All rights reserved.