Interface Validatable

All Known Implementing Classes:
ActionDescriptor, ConditionalResultDescriptor, ConditionDescriptor, ConditionsDescriptor, ImmutableWorkflowDescriptor, JoinDescriptor, MockStepDescriptor, RestrictionDescriptor, ResultDescriptor, SplitDescriptor, StepDescriptor, WorkflowDescriptor

public interface Validatable
Abstact base class for elements that can be validated.
Version:
$Revision: 1.2 $
Author:
Michael Vorburger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Validate this element, and propagate validation to all contained sub-elements.
  • Method Details

    • validate

      void validate() throws InvalidWorkflowDescriptorException
      Validate this element, and propagate validation to all contained sub-elements. Should throw an InvalidWorkflowDescriptorException with details in message if the element is invalid. Validity checks should be checks that cannot be encapsulated in the DTD. Validation has to be called explicitly on writting, a writeXML() does not validate implicitly; it *IS* thus possible to write invalid descriptor files. This could be useful for e.g. a graphical workflow definition editor which would like to write incomplete definitions. Validation *IS* performed on loading a workflow definition.
      Throws:
      InvalidWorkflowDescriptorException
      See Also: