public class DefaultTransitionEntry extends Object implements TransitionEntry
| Constructor and Description |
|---|
DefaultTransitionEntry(int transitionId,
Long fromStatusId,
Long toStatusId,
String name,
boolean hasScreen,
boolean hasConditions,
boolean hasValidators,
boolean isInitial,
boolean isGlobal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getFromStatusId() |
boolean |
getHasConditions() |
boolean |
getHasScreen() |
boolean |
getHasValidators() |
boolean |
getIsGlobal() |
boolean |
getIsInitial() |
String |
getName() |
Long |
getToStatusId() |
int |
getTransitionId() |
int |
hashCode() |
String |
toString() |
public DefaultTransitionEntry(int transitionId,
@Nullable
Long fromStatusId,
@NotNull
Long toStatusId,
@NotNull
String name,
boolean hasScreen,
boolean hasConditions,
boolean hasValidators,
boolean isInitial,
boolean isGlobal)
transitionId - the transition idfromStatusId - status that this transition is from, can contain an empty value since global transitions do not have a from statustoStatusId - status that this transition is to (can be the itself)name - name of the transition (e.g. "Start work")hasScreen - true if there is a screen associated with this transitionhasConditions - true if there are there pre conditions on this transitionhasValidators - true if are there validators on this transitionisInitial - true if this is the initial transition (i.e. issue created).isGlobal - true if this is a global transitionpublic int getTransitionId()
getTransitionId in interface TransitionEntrypublic Long getFromStatusId()
getFromStatusId in interface TransitionEntrypublic Long getToStatusId()
getToStatusId in interface TransitionEntrypublic String getName()
getName in interface TransitionEntrypublic boolean getHasScreen()
getHasScreen in interface TransitionEntrypublic boolean getHasConditions()
getHasConditions in interface TransitionEntrypublic boolean getHasValidators()
getHasValidators in interface TransitionEntrypublic boolean getIsGlobal()
getIsGlobal in interface TransitionEntrypublic boolean getIsInitial()
getIsInitial in interface TransitionEntryCopyright © 2002-2019 Atlassian. All Rights Reserved.