public class End extends Object implements Serializable
| Constructor and Description |
|---|
End() |
| Modifier and Type | Method and Description |
|---|---|
ContinueAs |
getContinueAs()
End definition continue as
|
List<ProduceEvent> |
getProduceEvents()
Array of events to be produced
|
boolean |
isCompensate()
If set to true, triggers workflow compensation when before workflow executin completes.
|
boolean |
isTerminate()
If true, completes all execution flows in the given workflow instance
|
void |
setCompensate(boolean compensate)
If set to true, triggers workflow compensation when before workflow executin completes.
|
void |
setContinueAs(ContinueAs continueAs)
End definition continue as
|
void |
setProduceEvents(List<ProduceEvent> produceEvents)
Array of events to be produced
|
void |
setTerminate(boolean terminate)
If true, completes all execution flows in the given workflow instance
|
End |
withCompensate(boolean compensate) |
End |
withContinueAs(ContinueAs continueAs) |
End |
withProduceEvents(List<ProduceEvent> produceEvents) |
End |
withTerminate(boolean terminate) |
public boolean isTerminate()
public void setTerminate(boolean terminate)
public End withTerminate(boolean terminate)
public List<ProduceEvent> getProduceEvents()
public void setProduceEvents(List<ProduceEvent> produceEvents)
public End withProduceEvents(List<ProduceEvent> produceEvents)
public boolean isCompensate()
public void setCompensate(boolean compensate)
public End withCompensate(boolean compensate)
public ContinueAs getContinueAs()
public void setContinueAs(ContinueAs continueAs)
public End withContinueAs(ContinueAs continueAs)
Copyright © 2020–2023 CNCF. All rights reserved.