java.io.Serializable, java.lang.Comparable<LocalResourceType>@Public @Stable public enum LocalResourceType extends java.lang.Enum<LocalResourceType>
LocalResourceType specifies the type
of a resource localized by the NodeManager.
The type can be one of:
| Enum Constant | Description |
|---|---|
ARCHIVE |
Archive, which is automatically unarchived by the
NodeManager. |
FILE |
Regular file i.e.
|
PATTERN |
A hybrid between archive and file.
|
| Modifier and Type | Method | Description |
|---|---|---|
static LocalResourceType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static LocalResourceType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalResourceType ARCHIVE
NodeManager.public static final LocalResourceType FILE
public static final LocalResourceType PATTERN
LocalResource. Currently only jars support pattern, all
others will be treated like a #ARCHIVE.public static LocalResourceType[] values()
for (LocalResourceType c : LocalResourceType.values()) System.out.println(c);
public static LocalResourceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.