Package org.jppf.classloader
Enum Class ResourceIdentifier
- All Implemented Interfaces:
Serializable,Comparable<ResourceIdentifier>,Constable
An enumeration of the possible keys in a
JPPFResourceWrapper data map.- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe definition of the result of a callable sent by a node to a client.The identifier of a callable sent by a node to a client.Unique id of a client connection.A resource definition, normally file or class bytes.The identifier of a callable within a driver instance.Whether lookups of resource in the file system are allowed.Flag indicating that all definitions that can be found for a given resource should be returned.The names of multiple resources for which to find the defintion.The name of a single resource for which to lookup the defintion.A node uuid.Flag indicating whether the remote peer is a peer server.A list of available definitions for a single resource name.Mapping of a list of available definitions for each resource name when looking up multiple resources.The resources held by aCompositeResourceWrapper. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceIdentifierReturns the enum constant of this class with the specified name.static ResourceIdentifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFINITION
A resource definition, normally file or class bytes. -
MULTIPLE
Flag indicating that all definitions that can be found for a given resource should be returned. -
MULTIPLE_NAMES
The names of multiple resources for which to find the defintion. -
NAME
The name of a single resource for which to lookup the defintion. -
CALLABLE
The definition of the result of a callable sent by a node to a client. -
CALLABLE_ID
The identifier of a callable sent by a node to a client. -
DRIVER_CALLABLE_ID
The identifier of a callable within a driver instance. -
RESOURCES_KEY
The resources held by aCompositeResourceWrapper. -
RESOURCE_MAP
Mapping of a list of available definitions for each resource name when looking up multiple resources. -
RESOURCE_LIST
A list of available definitions for a single resource name. -
NODE_UUID
A node uuid. -
PEER
Flag indicating whether the remote peer is a peer server. -
CONNECTION_UUID
Unique id of a client connection. -
FILE_LOOKUP_ALLOWED
Whether lookups of resource in the file system are allowed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-