net.sourceforge.xmlfit.configuration.impl
Enum ConfigurationImpl

java.lang.Object
  extended by java.lang.Enum<ConfigurationImpl>
      extended by net.sourceforge.xmlfit.configuration.impl.ConfigurationImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConfigurationImpl>, Configuration

public enum ConfigurationImpl
extends java.lang.Enum<ConfigurationImpl>
implements Configuration

Default Implementation of Configuration


Enum Constant Summary
INSTANCE
           
 
Field Summary
 
Fields inherited from interface net.sourceforge.xmlfit.configuration.Configuration
INSTANCE
 
Method Summary
 java.lang.String getInputDirectory()
          Getter for the input directory.
 java.lang.String getOutputDirectory()
          Getter for the output directory of the fit tests.
 void setInputDirectory(java.lang.String inputDirectory)
          Setter for the input directory.
 void setOutputDirectory(java.lang.String outputDirectory)
          Setter for output directory of the fit tests.
static ConfigurationImpl valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConfigurationImpl[] 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

INSTANCE

public static final ConfigurationImpl INSTANCE
Method Detail

values

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

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

valueOf

public static ConfigurationImpl 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

getInputDirectory

public java.lang.String getInputDirectory()
Description copied from interface: Configuration
Getter for the input directory.

Specified by:
getInputDirectory in interface Configuration
Returns:
the root directory of the xmlfit tests.

setInputDirectory

public void setInputDirectory(java.lang.String inputDirectory)
Description copied from interface: Configuration
Setter for the input directory.

Specified by:
setInputDirectory in interface Configuration
Parameters:
inputDirectory - the root directory of the xmlfit tests.

getOutputDirectory

public java.lang.String getOutputDirectory()
Description copied from interface: Configuration
Getter for the output directory of the fit tests.

Specified by:
getOutputDirectory in interface Configuration
Returns:
the directory of the generated fit tests.

setOutputDirectory

public void setOutputDirectory(java.lang.String outputDirectory)
Description copied from interface: Configuration
Setter for output directory of the fit tests.

Specified by:
setOutputDirectory in interface Configuration
Parameters:
outputDirectory - the directory for the fit tests.


Copyright © 2009 SourceForge. All Rights Reserved.