Class WorkflowValidatorImpl

  • All Implemented Interfaces:
    io.serverlessworkflow.api.interfaces.WorkflowValidator

    public class WorkflowValidatorImpl
    extends Object
    implements io.serverlessworkflow.api.interfaces.WorkflowValidator
    • Constructor Detail

      • WorkflowValidatorImpl

        public WorkflowValidatorImpl()
    • Method Detail

      • setWorkflow

        public io.serverlessworkflow.api.interfaces.WorkflowValidator setWorkflow​(io.serverlessworkflow.api.Workflow workflow)
        Specified by:
        setWorkflow in interface io.serverlessworkflow.api.interfaces.WorkflowValidator
      • setSource

        public io.serverlessworkflow.api.interfaces.WorkflowValidator setSource​(String source)
        Specified by:
        setSource in interface io.serverlessworkflow.api.interfaces.WorkflowValidator
      • validate

        public List<io.serverlessworkflow.api.validation.ValidationError> validate()
        Specified by:
        validate in interface io.serverlessworkflow.api.interfaces.WorkflowValidator
      • isValid

        public boolean isValid()
        Specified by:
        isValid in interface io.serverlessworkflow.api.interfaces.WorkflowValidator
      • setSchemaValidationEnabled

        public io.serverlessworkflow.api.interfaces.WorkflowValidator setSchemaValidationEnabled​(boolean schemaValidationEnabled)
        Specified by:
        setSchemaValidationEnabled in interface io.serverlessworkflow.api.interfaces.WorkflowValidator
      • reset

        public io.serverlessworkflow.api.interfaces.WorkflowValidator reset()
        Specified by:
        reset in interface io.serverlessworkflow.api.interfaces.WorkflowValidator