Class WorkflowStatesByLocalizedNameDataProvider

    • Field Detail

      • WORKFLOW_PARAMETER_SEPARATOR

        public static final java.lang.String WORKFLOW_PARAMETER_SEPARATOR
        See Also:
        Constant Field Values
      • STATE_PARAMETER_SEPARATOR

        public static final java.lang.String STATE_PARAMETER_SEPARATOR
        See Also:
        Constant Field Values
    • Constructor Detail

      • WorkflowStatesByLocalizedNameDataProvider

        public WorkflowStatesByLocalizedNameDataProvider()
    • Method Detail

      • getStateId

        protected java.lang.String getStateId​(java.lang.String workflowId,
                                              java.lang.String workflowStateId)
        Returns an unique state identifier.
        Parameters:
        workflowId - workflow identifier.
        workflowStateId - state identifier.
        Returns:
        Since:
        7.0.0
      • isStateAllowed

        protected boolean isStateAllowed​(WorkflowStateConfig stateConfig)
        Returns true if the state is allowed to be included on source, otherwise returns false.
        Parameters:
        stateConfig - the workflow state to be verified.
        Returns:
        true if the state is allowed to be included on source, otherwise returns false.
        Since:
        7.0.0