Class NodesOfTypeChoiceProvider

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

    public class NodesOfTypeChoiceProvider
    extends Object
    implements de.xima.cmn.validation.spec.IChoiceProviding<NodeKey>
    Provider for workflow nodes 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().

    For example:

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

      • NodesOfTypeChoiceProvider

        public NodesOfTypeChoiceProvider()
    • Method Detail

      • getChoices

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