fr.opensagres.xdocreport.remoting.resources.services
Enum ResourcesServiceName
java.lang.Object
java.lang.Enum<ResourcesServiceName>
fr.opensagres.xdocreport.remoting.resources.services.ResourcesServiceName
- All Implemented Interfaces:
- Serializable, Comparable<ResourcesServiceName>
public enum ResourcesServiceName
- extends Enum<ResourcesServiceName>
Enum with service name of the ResourcesService
.
name
public static final ResourcesServiceName name
root
public static final ResourcesServiceName root
download
public static final ResourcesServiceName download
upload
public static final ResourcesServiceName upload
uploadLarge
public static final ResourcesServiceName uploadLarge
downloadLarge
public static final ResourcesServiceName downloadLarge
values
public static ResourcesServiceName[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ResourcesServiceName c : ResourcesServiceName.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ResourcesServiceName valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
getServiceName
public static ResourcesServiceName getServiceName(String value)
- Returns the enum
ResourcesServiceName
from the given String value and null if not found.
- Parameters:
value
-
- Returns:
Copyright © 2013. All rights reserved.