fr.opensagres.xdocreport.remoting.resources.services
Enum ResourcesServiceName

java.lang.Object
  extended by java.lang.Enum<ResourcesServiceName>
      extended by 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.


Enum Constant Summary
download
           
downloadLarge
           
name
           
root
           
upload
           
uploadLarge
           
 
Method Summary
static ResourcesServiceName getServiceName(String value)
          Returns the enum ResourcesServiceName from the given String value and null if not found.
static ResourcesServiceName valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResourcesServiceName[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.