com.googlecode.sarasvati.join
Class IncompleteJoinResult
java.lang.Object
com.googlecode.sarasvati.join.IncompleteJoinResult
- All Implemented Interfaces:
- JoinResult
public final class IncompleteJoinResult
- extends Object
- implements JoinResult
INSTANCE
public static final JoinResult INSTANCE
getJoinAction
public JoinAction getJoinAction()
- Always returns
JoinAction.Nothing
- Specified by:
getJoinAction
in interface JoinResult
- Returns:
- the action that the join strategy wants to take.
- See Also:
JoinResult.getJoinAction()
getArcTokensCompletingJoin
public List<ArcToken> getArcTokensCompletingJoin()
- Always throws an
IllegalStateException
- Specified by:
getArcTokensCompletingJoin
in interface JoinResult
- Returns:
- The ArcTokens which were required to complete this join, and will be considered
the parents of the new
NodeToken
. - See Also:
JoinResult.getArcTokensCompletingJoin()
getMergeTarget
public NodeToken getMergeTarget()
- Description copied from interface:
JoinResult
- If the join action is
JoinAction.Merge
, then the arc token in question will
be made into a parent of the given NodeToken.
- Specified by:
getMergeTarget
in interface JoinResult
- Returns:
- The node token into whose history the arc token will be merged into.