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 TransitionEntry
public Long getFromStatusId()
getFromStatusId
in interface TransitionEntry
public Long getToStatusId()
getToStatusId
in interface TransitionEntry
public String getName()
getName
in interface TransitionEntry
public boolean getHasScreen()
getHasScreen
in interface TransitionEntry
public boolean getHasConditions()
getHasConditions
in interface TransitionEntry
public boolean getHasValidators()
getHasValidators
in interface TransitionEntry
public boolean getIsGlobal()
getIsGlobal
in interface TransitionEntry
public boolean getIsInitial()
getIsInitial
in interface TransitionEntry
Copyright © 2002-2019 Atlassian. All Rights Reserved.