Modifier and Type | Method and Description |
---|---|
abstract LocalResourceType |
LocalResource.getType()
Get the
LocalResourceType of 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,
String pattern) |
abstract void |
LocalResource.setType(LocalResourceType type)
Set the
LocalResourceType of the resource to be localized. |
Modifier and Type | Method and Description |
---|---|
static LocalResourceType |
ProtoUtils.convertFromProtoFormat(YarnProtos.LocalResourceTypeProto e) |
LocalResourceType |
LocalResourcePBImpl.getType() |
Modifier and Type | Method and Description |
---|---|
static YarnProtos.LocalResourceTypeProto |
ProtoUtils.convertToProtoFormat(LocalResourceType e) |
void |
LocalResourcePBImpl.setType(LocalResourceType type) |
Modifier and Type | Method and Description |
---|---|
LocalResourceType |
LocalResourceRequest.getType() |
Modifier and Type | Method and Description |
---|---|
void |
LocalResourceRequest.setType(LocalResourceType type) |
Modifier and Type | Method and Description |
---|---|
static LocalResource |
BuilderUtils.newLocalResource(URI uri,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp) |
static LocalResource |
BuilderUtils.newLocalResource(URL url,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp) |
Copyright © 2013 Apache Software Foundation. All rights reserved.