@InterfaceAudience.Public @InterfaceStability.Stable public enum LocalResourceType extends Enum<LocalResourceType>
LocalResourceType specifies the type
 of a resource localized by the NodeManager.
 The type can be one of:
| Enum Constant and Description | 
|---|
| ARCHIVEArchive, which is automatically unarchived by the  NodeManager. | 
| FILERegular file i.e. | 
| PATTERNA hybrid between archive and file. | 
| Modifier and Type | Method and Description | 
|---|---|
| static LocalResourceType | valueOf(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(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 nullCopyright © 2008–2023 Apache Software Foundation. All rights reserved.