Enum Algorithm.ParameterEnum

java.lang.Object
java.lang.Enum<Algorithm.ParameterEnum>
org.pentaho.aggdes.algorithm.Algorithm.ParameterEnum
All Implemented Interfaces:
Serializable, Comparable<Algorithm.ParameterEnum>, java.lang.constant.Constable, Parameter
Enclosing interface:
Algorithm

public static enum Algorithm.ParameterEnum extends Enum<Algorithm.ParameterEnum> implements Parameter
Enumeration of parameters common to all algorithms.
  • Enum Constant Details

  • Method Details

    • values

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

      public static Algorithm.ParameterEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isRequired

      public boolean isRequired()
      Description copied from interface: Parameter
      Returns whether the parameter is required.
      Specified by:
      isRequired in interface Parameter
      Returns:
      whether Parameter is required
    • getType

      public Parameter.Type getType()
      Description copied from interface: Parameter
      Returns the of this Parameter.
      Specified by:
      getType in interface Parameter
      Returns:
      type of this parameter.
    • getDescription

      public String getDescription()
      Description copied from interface: Parameter
      Returns the description of this Parameter.
      Specified by:
      getDescription in interface Parameter
      Returns:
      description of Parameter
    • getName

      public String getName()
      Description copied from interface: Parameter
      Returns the name of this Parameter.
      Specified by:
      getName in interface Parameter
      Returns:
      name of this Parameter