Enum ModelParameters.Approach.ApproachType
- java.lang.Object
-
- java.lang.Enum<ModelParameters.Approach.ApproachType>
-
- org.cyclonedx.model.component.modelCard.ModelParameters.Approach.ApproachType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ModelParameters.Approach.ApproachType>
- Enclosing class:
- ModelParameters.Approach
public static enum ModelParameters.Approach.ApproachType extends java.lang.Enum<ModelParameters.Approach.ApproachType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REINFORCEMENT_LEARNINGSELF_SUPERVISEDSEMI_SUPERVISEDSUPERVISEDUNSUPERVISED
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringtypeName
-
Constructor Summary
Constructors Modifier Constructor Description privateApproachType(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTypeName()static ModelParameters.Approach.ApproachTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ModelParameters.Approach.ApproachType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUPERVISED
public static final ModelParameters.Approach.ApproachType SUPERVISED
-
UNSUPERVISED
public static final ModelParameters.Approach.ApproachType UNSUPERVISED
-
REINFORCEMENT_LEARNING
public static final ModelParameters.Approach.ApproachType REINFORCEMENT_LEARNING
-
SEMI_SUPERVISED
public static final ModelParameters.Approach.ApproachType SEMI_SUPERVISED
-
SELF_SUPERVISED
public static final ModelParameters.Approach.ApproachType SELF_SUPERVISED
-
-
Method Detail
-
values
public static ModelParameters.Approach.ApproachType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ModelParameters.Approach.ApproachType c : ModelParameters.Approach.ApproachType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelParameters.Approach.ApproachType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getTypeName
public java.lang.String getTypeName()
-
-