Interface ParameterConstraint

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getAllowableValues()
      The implementers are expected to return allowed values in the insertion order.
      java.lang.String getName()
      Gets the unique name of the constraint
      java.lang.String getValueDisplayLabel​(java.lang.String value)  
      boolean isValidValue​(java.lang.String value)
      Indicates whether the provided value satisfies the constraint.
    • Method Detail

      • getName

        java.lang.String getName()
        Gets the unique name of the constraint
        Returns:
        String constraint name
      • isValidValue

        boolean isValidValue​(java.lang.String value)
        Indicates whether the provided value satisfies the constraint. True if it does, false otherwise.
        Returns:
        boolean true if valid, false otherwise
      • getValueDisplayLabel

        java.lang.String getValueDisplayLabel​(java.lang.String value)
        Parameters:
        value - String
        Returns:
        String
      • getAllowableValues

        java.util.Map<java.lang.String,​java.lang.String> getAllowableValues()
        The implementers are expected to return allowed values in the insertion order.