EntityStateJob.Transition#
- public class Transition#
Represents a Transition which is identified by a name and the two States from and to which an entity is being transitioned.
Currently, only exactly one toState and one fromState can be defined. However, it might be allowed in the future to have multiple states here.
- Author:
Timm Fitschen (t.fitschen@indiscale.com)
Constructors#
Transition#
- public Transition(EntityInterface transition)#
- Parameters:
transition – The transition Entity, from which the Transition is created. Relevant Properties are “to” and “from”
Methods#
equals#
getDescription#
getFromState#
getName#
getToState#
isFromState#
isPermitted#
- public boolean isPermitted(Subject user)#
isToState#
toElement#
- public Element toElement()#