org.mockcentral.editor.nodes.fixture.wizard
Enum EditFixtureWizardType

java.lang.Object
  extended by java.lang.Enum<EditFixtureWizardType>
      extended by org.mockcentral.editor.nodes.fixture.wizard.EditFixtureWizardType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EditFixtureWizardType>

public enum EditFixtureWizardType
extends java.lang.Enum<EditFixtureWizardType>

An enum specifying types of editing tasks performed using a EditFixtureWizard, specifically whether a newly created fixture is being built, a copied/pasted instance is being set up or an edit is being performed on a previously created fixture.

Author:
David Hutchinson

Enum Constant Summary
EDIT_FIXTURE
          Constant value indicating an edit is being performed on a previously created fixture.
NEW_FIXTURE
          Constant value indicating a newly created fixture is being built
PASTE_COPIED_FIXTURE
          Constant value indicating a copied/pasted fixture is being set up
 
Method Summary
static EditFixtureWizardType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EditFixtureWizardType[] 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

NEW_FIXTURE

public static final EditFixtureWizardType NEW_FIXTURE
Constant value indicating a newly created fixture is being built


PASTE_COPIED_FIXTURE

public static final EditFixtureWizardType PASTE_COPIED_FIXTURE
Constant value indicating a copied/pasted fixture is being set up


EDIT_FIXTURE

public static final EditFixtureWizardType EDIT_FIXTURE
Constant value indicating an edit is being performed on a previously created fixture.

Method Detail

values

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

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

valueOf

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