Class TriggersOfTypeChoiceProvider

  • All Implemented Interfaces:
    de.xima.cmn.validation.spec.IChoiceProviding<TriggerKey>

    public class TriggersOfTypeChoiceProvider
    extends Object
    implements de.xima.cmn.validation.spec.IChoiceProviding<TriggerKey>
    CDI-injectable provider for the that makes available all nodes in the entire workflow process that are of a given type. The type can be configured via the entry in IChoiceProvidingParams.strings(). Whether to include triggers of the current task can be configured via the entry in IChoiceProvidingParams.booleans() (true to exclude, false to include).

    For example:

     class MyPojo {
       @SingleChoice(value = TriggersOfTypeChoiceProvider.class, paramsString = "FC_EMAIL")
       private List<UuidEntityRef> emailNodes;
     }
     
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • TriggersOfTypeChoiceProvider

        public TriggersOfTypeChoiceProvider()
    • Method Detail

      • getChoices

        public List<? extends de.xima.cmn.validation.spec.IChoiceEntry<TriggerKey>> getChoices​(de.xima.cmn.validation.spec.IChoiceProvidingParams params)
        Specified by:
        getChoices in interface de.xima.cmn.validation.spec.IChoiceProviding<TriggerKey>