| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract LocalResourceType | LocalResource. getType()Get the  LocalResourceTypeof the resource to be localized. | 
| static LocalResourceType | LocalResourceType. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static LocalResourceType[] | LocalResourceType. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| static LocalResource | LocalResource. newInstance(URL url,
           LocalResourceType type,
           LocalResourceVisibility visibility,
           long size,
           long timestamp) | 
| static LocalResource | LocalResource. newInstance(URL url,
           LocalResourceType type,
           LocalResourceVisibility visibility,
           long size,
           long timestamp,
           boolean shouldBeUploadedToSharedCache) | 
| static LocalResource | LocalResource. newInstance(URL url,
           LocalResourceType type,
           LocalResourceVisibility visibility,
           long size,
           long timestamp,
           String pattern) | 
| static LocalResource | LocalResource. newInstance(URL url,
           LocalResourceType type,
           LocalResourceVisibility visibility,
           long size,
           long timestamp,
           String pattern,
           boolean shouldBeUploadedToSharedCache) | 
| abstract void | LocalResource. setType(LocalResourceType type)Set the  LocalResourceTypeof the resource to be localized. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.