public class Error extends Object implements Serializable
| Constructor and Description |
|---|
Error()
No args constructor for use in serialization
|
Error(Transition transition) |
| Modifier and Type | Method and Description |
|---|---|
End |
getEnd()
State end definition
|
String |
getErrorRef()
Reference to a unique workflow error definition.
|
List<String> |
getErrorRefs()
References one or more workflow error definitions.
|
Transition |
getTransition()
(Required)
|
void |
setEnd(End end)
State end definition
|
void |
setErrorRef(String errorRef)
Reference to a unique workflow error definition.
|
void |
setErrorRefs(List<String> errorRefs)
References one or more workflow error definitions.
|
void |
setTransition(Transition transition)
(Required)
|
Error |
withEnd(End end) |
Error |
withErrorRef(String errorRef) |
Error |
withErrorRefs(List<String> errorRefs) |
Error |
withTransition(Transition transition) |
public Error()
public Error(Transition transition)
transition - public String getErrorRef()
public void setErrorRef(String errorRef)
public List<String> getErrorRefs()
public void setErrorRefs(List<String> errorRefs)
public Transition getTransition()
public void setTransition(Transition transition)
public Error withTransition(Transition transition)
public End getEnd()
public void setEnd(End end)
Copyright © 2020–2023 CNCF. All rights reserved.