Enum Class ValidationMode

java.lang.Object
java.lang.Enum<ValidationMode>
ai.pipestream.api.validation.ValidationMode
All Implemented Interfaces:
Serializable, Comparable<ValidationMode>, Constable

public enum ValidationMode extends Enum<ValidationMode>
Defines the validation mode for pipeline configurations. Different modes apply different levels of validation strictness.
  • Enum Constant Details

    • PRODUCTION

      public static final ValidationMode PRODUCTION
      Production mode - applies full validation suite. Requires pipelines to pass all validations without errors or warnings. Suitable for pipelines ready for deployment.
    • DESIGN

      public static final ValidationMode DESIGN
      Design mode - applies structural and logical validation. Allows saving pipelines that may have warnings. Suitable for design-time pipeline definitions.
    • TESTING

      public static final ValidationMode TESTING
      Testing mode - applies minimal validation. Allows incomplete pipelines for testing purposes. Suitable for test environments.
  • Method Details

    • values

      public static ValidationMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ValidationMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isProduction

      public boolean isProduction()
      Checks if this is production mode.
      Returns:
      true if this is PRODUCTION mode
    • isDesign

      public boolean isDesign()
      Checks if this is design mode.
      Returns:
      true if this is DESIGN mode
    • isTesting

      public boolean isTesting()
      Checks if this is testing mode.
      Returns:
      true if this is TESTING mode