Class DecisionValidator
java.lang.Object
com.hybris.backoffice.workflow.designer.validation.AbstractValidator
com.hybris.backoffice.workflow.designer.validation.DecisionValidator
- All Implemented Interfaces:
WorkflowDesignerValidator
Validates each decision node. Each decision need to have at least one connection to another node, otherwise it cannot
be saved.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) Performs validationMethods inherited from class com.hybris.backoffice.workflow.designer.validation.AbstractValidator
getConnectionFinder, getNetworkEntityFinder, getNodeTypeService, setConnectionFinder, setNetworkEntityFinder, setNodeTypeService
-
Field Details
-
DECISION_NEEDS_AT_LEAST_ONE_CONNECTION
- See Also:
-
-
Constructor Details
-
DecisionValidator
public DecisionValidator()
-
-
Method Details
-
validate
public WorkflowDesignerValidationResult validate(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) Description copied from interface:WorkflowDesignerValidatorPerforms validation- Parameters:
context- contains workflow template to be validated
-