class OverridingProcessStateDefinitionManager extends ProcessStateDefinitionManager
Wrapper for delegate ProcessStateDefinitionManager, used to enhance base state definitions and actions with custom states and custom actions.
Use statusIconsPF, statusTooltipsPF and statusDescriptionsPF to customize dynamic state properties. Use customStateDefinitions to extend or override delegate definitions.
The order of overriding handler executions:
- handle state via statusIconsPF, statusTooltipsPF and statusDescriptionsPF or else
- use custom definitions from stateDefinitions or else
- use delegate methods statusIcons, statusTooltips and statusDescriptions
- Alphabetic
- By Inheritance
- OverridingProcessStateDefinitionManager
- ProcessStateDefinitionManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OverridingProcessStateDefinitionManager(delegate: ProcessStateDefinitionManager, statusActionsPF: PartialFunction[StateStatus, List[ScenarioActionName]] = PartialFunction.empty, statusIconsPF: PartialFunction[StateStatus, URI] = PartialFunction.empty, statusTooltipsPF: PartialFunction[StateStatus, String] = PartialFunction.empty, statusDescriptionsPF: PartialFunction[StateStatus, String] = PartialFunction.empty, customStateDefinitions: Map[StatusName, StateDefinitionDetails] = Map.empty)
- customStateDefinitions
Set of definitions that extends or overwrites delegate definitions
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def processState(statusDetails: StatusDetails): ProcessState
Enhances raw StateStatus with scenario properties, including deployment info.
Enhances raw StateStatus with scenario properties, including deployment info.
- Definition Classes
- ProcessStateDefinitionManager
- def stateDefinitions: Map[StatusName, StateDefinitionDetails]
Dictionary of state definitions with default properties.
Dictionary of state definitions with default properties. Usages:
- fixed set of filter options for scenario filtering by state.
- default values of status properties
To handle dynamic state properties (e.g. descriptions) use statusDescription, statusTooltip or statusIcon.
- Definition Classes
- OverridingProcessStateDefinitionManager → ProcessStateDefinitionManager
- def statusActions(stateStatus: StateStatus): List[ScenarioActionName]
Allowed transitions between states.
Allowed transitions between states.
- Definition Classes
- OverridingProcessStateDefinitionManager → ProcessStateDefinitionManager
- def statusDescription(stateStatus: StateStatus): String
- Definition Classes
- OverridingProcessStateDefinitionManager → ProcessStateDefinitionManager
- def statusIcon(stateStatus: StateStatus): URI
- Definition Classes
- OverridingProcessStateDefinitionManager → ProcessStateDefinitionManager
- def statusTooltip(stateStatus: StateStatus): String
Status properties that describe how the state is transformed in order to be displayed in UI for each scenario.
Status properties that describe how the state is transformed in order to be displayed in UI for each scenario. Here the default values are based on stateDefinitions(). Override those methods to customize varying state properties or custom visualizations, e.g. handle schedule date in PeriodicProcessStateDefinitionManager
- Definition Classes
- OverridingProcessStateDefinitionManager → ProcessStateDefinitionManager
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)