Package wt.change2.flexible
Class TerminalStateReadinessDelegate
java.lang.Object
wt.change2.flexible.FlexibleChangeItemReadinessDelegate
wt.change2.flexible.TerminalStateReadinessDelegate
- All Implemented Interfaces:
Comparable<FlexibleChangeItemReadinessDelegate>
Delegate for determining if a change item is ready for conversion. This class
checks if the given flexible change items have a lifecycle state that is
considered to be a terminal state.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Nested Class Summary
Nested classes/interfaces inherited from class wt.change2.flexible.FlexibleChangeItemReadinessDelegate
FlexibleChangeItemReadinessDelegate.ReadinessInfo -
Method Summary
Modifier and TypeMethodDescriptiondetermineReadiness(WTCollection changeItems) Multi object api for determining if the given change items should be marked as ready for conversion.protected WTKeyedMapgetTerminalStates(WTCollection changeItems) Returns a map of change object to a set of lifecycle states considered to be terminal states.
-
Method Details
-
determineReadiness
Multi object api for determining if the given change items should be marked as ready for conversion. If the given change items have a lifecycle state that is considered to be a terminal state, they are considered to be ready.- Specified by:
determineReadinessin classFlexibleChangeItemReadinessDelegate- Parameters:
changeItems- - a wtCollection of FlexibleChangeItems.- Returns:
- WTKeyedMap - holds information as to the readiness state of the
given change items. The key is the change item and the value is
the readiness info. This api may return an empty map, but should
never return null.
Supported API: true - Throws:
WTException
-
getTerminalStates
Returns a map of change object to a set of lifecycle states considered to be terminal states.- Parameters:
changeItems- - a wtCollection of FlexibleChangeItems.- Returns:
- WTKeyedMap - map of change object to a set of lifecycle states,
(guaranteed non-null, may be empty).
Supported API: true - Throws:
WTException
-