Interface Constraint

All Superinterfaces:
Serializable
All Known Implementing Classes:
Comparison, Composition, InConstraint, Unconstrained

public interface Constraint extends Serializable
A constraint defines constraints on the allowable values of Parameters. These can be used paired with a Constraint.Visitor to validata an input value, or generate an appropriate UI
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A visitor which allows you to process the potentially complex AST of conditions to produce various things (a widget for example, or a simple validation).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Constraint
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T> T
     
  • Field Details

    • UNCONSTRAINED

      static final Constraint UNCONSTRAINED
  • Method Details