T
- the builder class of the job element type that encloses the current transition elementpublic abstract static class Transition.Termination<T> extends Transition<T>
Transition.End
,
Transition.Stop
, and Transition.Fail
.Transition.End<T>, Transition.Fail<T>, Transition.Next<T>, Transition.Stop<T>, Transition.Termination<T>
Modifier and Type | Method and Description |
---|---|
T |
exitStatus(String... newExitStatus)
Sets the
exit-status attribute value, which is the new exit status after matching the current
transition element, and returns the current builder, such as
StepBuilder , DecisionBuilder , or FlowBuilder . |
String |
getExitStatus()
Gets the
exit-status attribute value, which is the new exit status after matching the current
transition element. |
getOn
public final String getExitStatus()
exit-status
attribute value, which is the new exit status after matching the current
transition element.public T exitStatus(String... newExitStatus)
exit-status
attribute value, which is the new exit status after matching the current
transition element, and returns the current builder, such as
StepBuilder
, DecisionBuilder
, or FlowBuilder
.
If no need for a new exit status, invoking this method without argument to simply exit operation on this
transition element and return the enclosing builder.newExitStatus
- the new, updated exit status (optional param and may be omitted)Copyright © 2018 JBoss by Red Hat. All rights reserved.