Enum MatArtifactType
- java.lang.Object
-
- java.lang.Enum<MatArtifactType>
-
- org.proforma.variability.transfer.MatArtifactType
-
- All Implemented Interfaces:
Serializable
,Comparable<MatArtifactType>
public enum MatArtifactType extends Enum<MatArtifactType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHED_TXT_FILE_CONTENTS
FILE_EXISTENCES
FILE_NAMES
GRADING_HINTS_WEIGHTS
GRADING_NODE_EXISTENCES
OTHER
TASK_XML
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatArtifactType
fromValue(String v)
VpT
getDataType()
Class<? extends MatArtifactProvider<?>>
getProviderClass()
Boolean
operatesOnTaskXml()
String
value()
static MatArtifactType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MatArtifactType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TASK_XML
public static final MatArtifactType TASK_XML
-
FILE_NAMES
public static final MatArtifactType FILE_NAMES
-
ATTACHED_TXT_FILE_CONTENTS
public static final MatArtifactType ATTACHED_TXT_FILE_CONTENTS
-
FILE_EXISTENCES
public static final MatArtifactType FILE_EXISTENCES
-
GRADING_NODE_EXISTENCES
public static final MatArtifactType GRADING_NODE_EXISTENCES
-
GRADING_HINTS_WEIGHTS
public static final MatArtifactType GRADING_HINTS_WEIGHTS
-
OTHER
public static final MatArtifactType OTHER
-
-
Method Detail
-
values
public static MatArtifactType[] 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 (MatArtifactType c : MatArtifactType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatArtifactType 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 nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static MatArtifactType fromValue(String v)
-
getDataType
public VpT getDataType()
-
operatesOnTaskXml
public Boolean operatesOnTaskXml()
-
getProviderClass
public Class<? extends MatArtifactProvider<?>> getProviderClass()
-
-