org.jbehave.web.runner.waffle.controllers
Enum FilesContext.View

java.lang.Object
  extended by java.lang.Enum<FilesContext.View>
      extended by org.jbehave.web.runner.waffle.controllers.FilesContext.View
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FilesContext.View>
Enclosing class:
FilesContext

public static enum FilesContext.View
extends java.lang.Enum<FilesContext.View>


Enum Constant Summary
FULL_PATH
           
RELATIVE_PATH
           
 
Method Summary
static FilesContext.View valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FilesContext.View[] 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

RELATIVE_PATH

public static final FilesContext.View RELATIVE_PATH

FULL_PATH

public static final FilesContext.View FULL_PATH
Method Detail

values

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

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

valueOf

public static FilesContext.View 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


Copyright © 2010. All Rights Reserved.