Enum GridResourceIoc.AnnotationSet
- java.lang.Object
-
- java.lang.Enum<GridResourceIoc.AnnotationSet>
-
- org.apache.ignite.internal.processors.resource.GridResourceIoc.AnnotationSet
-
- All Implemented Interfaces:
Serializable,Comparable<GridResourceIoc.AnnotationSet>
- Enclosing class:
- GridResourceIoc
public static enum GridResourceIoc.AnnotationSet extends Enum<GridResourceIoc.AnnotationSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTRY_PROCESSORGENERICJOBTASK
-
Field Summary
Fields Modifier and Type Field Description org.apache.ignite.internal.processors.resource.GridResourceIoc.ResourceAnnotation[]annotationsHolds annotations in orderintannotationsBitSetResource annotations bits for fast checks.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GridResourceIoc.AnnotationSetvalueOf(String name)Returns the enum constant of this type with the specified name.static GridResourceIoc.AnnotationSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERIC
public static final GridResourceIoc.AnnotationSet GENERIC
-
ENTRY_PROCESSOR
public static final GridResourceIoc.AnnotationSet ENTRY_PROCESSOR
-
TASK
public static final GridResourceIoc.AnnotationSet TASK
-
JOB
public static final GridResourceIoc.AnnotationSet JOB
-
-
Method Detail
-
values
public static GridResourceIoc.AnnotationSet[] 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 (GridResourceIoc.AnnotationSet c : GridResourceIoc.AnnotationSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridResourceIoc.AnnotationSet 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
-
-