Module datarush.hadoop.core
Enum ApplicationResource.ResourceVisibility
- java.lang.Object
-
- java.lang.Enum<ApplicationResource.ResourceVisibility>
-
- com.actian.dataflow.cal.yarn.client.ApplicationResource.ResourceVisibility
-
- All Implemented Interfaces:
Serializable
,Comparable<ApplicationResource.ResourceVisibility>
- Enclosing class:
- ApplicationResource
public static enum ApplicationResource.ResourceVisibility extends Enum<ApplicationResource.ResourceVisibility>
Visibility of the resource. Matches YARN visibility types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPLICATION
PRIVATE
PUBLIC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplicationResource.ResourceVisibility
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApplicationResource.ResourceVisibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final ApplicationResource.ResourceVisibility PUBLIC
-
PRIVATE
public static final ApplicationResource.ResourceVisibility PRIVATE
-
APPLICATION
public static final ApplicationResource.ResourceVisibility APPLICATION
-
-
Method Detail
-
values
public static ApplicationResource.ResourceVisibility[] 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 (ApplicationResource.ResourceVisibility c : ApplicationResource.ResourceVisibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationResource.ResourceVisibility 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
-
-