c

pl.touk.nussknacker.engine.api.deployment

OverridingProcessStateDefinitionManager

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OverridingProcessStateDefinitionManager
  2. ProcessStateDefinitionManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. 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
  15. 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
    OverridingProcessStateDefinitionManagerProcessStateDefinitionManager
  16. def statusActions(stateStatus: StateStatus): List[ScenarioActionName]

    Allowed transitions between states.

    Allowed transitions between states.

    Definition Classes
    OverridingProcessStateDefinitionManagerProcessStateDefinitionManager
  17. def statusDescription(stateStatus: StateStatus): String
  18. def statusIcon(stateStatus: StateStatus): URI
  19. 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
    OverridingProcessStateDefinitionManagerProcessStateDefinitionManager
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped