org.gcube.contentmanagement.util.configuration
Enum BasicConfigurationConstantsNames

java.lang.Object
  extended by java.lang.Enum<BasicConfigurationConstantsNames>
      extended by org.gcube.contentmanagement.util.configuration.BasicConfigurationConstantsNames
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BasicConfigurationConstantsNames>, ConfigurationConstantsNames

public enum BasicConfigurationConstantsNames
extends java.lang.Enum<BasicConfigurationConstantsNames>
implements ConfigurationConstantsNames


Enum Constant Summary
LOGGING_DIR
           
MAX_POLLING_TRIALS
           
MAX_RETRY
          Constants needed by the retry manager
POLLING_INTERVAL_SECS
          Constants needed by the ISResourceClient
REMOTE_FILE_CACHE_DIR
           
REMOTE_FILE_CONTENT_CACHE_DIR
           
TEMP_FILE_DIR
           
 
Method Summary
 java.lang.String getDefaultValue()
           
 boolean hasDefaultValue()
           
static BasicConfigurationConstantsNames valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BasicConfigurationConstantsNames[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.gcube.contentmanagement.util.configuration.ConfigurationConstantsNames
name
 

Enum Constant Detail

MAX_RETRY

public static final BasicConfigurationConstantsNames MAX_RETRY
Constants needed by the retry manager


POLLING_INTERVAL_SECS

public static final BasicConfigurationConstantsNames POLLING_INTERVAL_SECS
Constants needed by the ISResourceClient


MAX_POLLING_TRIALS

public static final BasicConfigurationConstantsNames MAX_POLLING_TRIALS

LOGGING_DIR

public static final BasicConfigurationConstantsNames LOGGING_DIR

REMOTE_FILE_CACHE_DIR

public static final BasicConfigurationConstantsNames REMOTE_FILE_CACHE_DIR

REMOTE_FILE_CONTENT_CACHE_DIR

public static final BasicConfigurationConstantsNames REMOTE_FILE_CONTENT_CACHE_DIR

TEMP_FILE_DIR

public static final BasicConfigurationConstantsNames TEMP_FILE_DIR
Method Detail

values

public static BasicConfigurationConstantsNames[] 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 (BasicConfigurationConstantsNames c : BasicConfigurationConstantsNames.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BasicConfigurationConstantsNames valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

hasDefaultValue

public boolean hasDefaultValue()
Specified by:
hasDefaultValue in interface ConfigurationConstantsNames

getDefaultValue

public java.lang.String getDefaultValue()
Specified by:
getDefaultValue in interface ConfigurationConstantsNames