| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract LocalResourceVisibility | LocalResource. getVisibility()Get the  LocalResourceVisibilityof the resource to be 
 localized. | 
| static LocalResourceVisibility | LocalResourceVisibility. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static LocalResourceVisibility[] | LocalResourceVisibility. 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. setVisibility(LocalResourceVisibility visibility)Set the  LocalResourceVisibilityof the resource to be 
 localized. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.