All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ee.telekom.workflow.graph.Transition Maven / Gradle / Ivy

package ee.telekom.workflow.graph;

/**
 * A {@link Transition} describes the order of execution between {@link Node}s.
 * They are directed links between nodes. During the execution of a
 * {@link GraphInstance}, transitions will determine the path tokens proceed
 * between nodes.
 * 

* Transitions may be labelled with a name. Their name can be used for flow control. */ public interface Transition { public static final String DEFAULT_TRANSITION_NAME = null; /** * Returns the {@link Node} at the start of the transition. * * @return the {@link Node} at the start of the transition */ Node getStartNode(); /** * Returns the {@link Node} at the end of the transition. * * @return the {@link Node} at the end of the transition */ Node getEndNode(); /** * Returns the transition name. Nulls and blanks are allowed. * * @return the transition name */ String getName(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy