Class DecisionValidator

  • All Implemented Interfaces:
    WorkflowDesignerValidator

    public class DecisionValidator
    extends AbstractValidator
    Validates each decision node. Each decision need to have at least one connection to another node, otherwise it cannot be saved.
    • Field Detail

      • DECISION_NEEDS_AT_LEAST_ONE_CONNECTION

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

      • DecisionValidator

        public DecisionValidator()
    • Method Detail

      • validate

        public WorkflowDesignerValidationResult validate​(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context)
        Description copied from interface: WorkflowDesignerValidator
        Performs validation
        Parameters:
        context - contains workflow template to be validated