public enum JobResourceType extends Enum<JobResourceType>
Enum Constant and Description |
---|
JOB_MANAGER_RESOURCE
Enum value JobManagerResource.
|
JOB_MANAGER_RESOURCE_IN_USER_FOLDER
Enum value JobManagerResourceInUserFolder.
|
STATISTICS_RESOURCE
Enum value StatisticsResource.
|
STATISTICS_RESOURCE_IN_USER_FOLDER
Enum value StatisticsResourceInUserFolder.
|
VERTEX_RESOURCE
Enum value VertexResource.
|
VERTEX_RESOURCE_IN_USER_FOLDER
Enum value VertexResourceInUserFolder.
|
Modifier and Type | Method and Description |
---|---|
static JobResourceType |
fromString(String value)
Parses a serialized value to a JobResourceType instance.
|
String |
toString() |
static JobResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobResourceType VERTEX_RESOURCE
public static final JobResourceType JOB_MANAGER_RESOURCE
public static final JobResourceType STATISTICS_RESOURCE
public static final JobResourceType VERTEX_RESOURCE_IN_USER_FOLDER
public static final JobResourceType JOB_MANAGER_RESOURCE_IN_USER_FOLDER
public static final JobResourceType STATISTICS_RESOURCE_IN_USER_FOLDER
public static JobResourceType[] values()
for (JobResourceType c : JobResourceType.values()) System.out.println(c);
public static JobResourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static JobResourceType fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<JobResourceType>
Copyright © 2019. All rights reserved.