info.magnolia.testframework
Enum AbstractMagnoliaIntegrationTest.Instance

java.lang.Object
  extended by java.lang.Enum<AbstractMagnoliaIntegrationTest.Instance>
      extended by info.magnolia.testframework.AbstractMagnoliaIntegrationTest.Instance
All Implemented Interfaces:
Serializable, Comparable<AbstractMagnoliaIntegrationTest.Instance>
Enclosing class:
AbstractMagnoliaIntegrationTest

public static enum AbstractMagnoliaIntegrationTest.Instance
extends Enum<AbstractMagnoliaIntegrationTest.Instance>

A simple way of referring to one of the two test instances deployed during ITs.


Enum Constant Summary
AUTHOR
           
PUBLIC
           
 
Method Summary
 String getURL()
           
 String getURL(String path)
           
static AbstractMagnoliaIntegrationTest.Instance valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AbstractMagnoliaIntegrationTest.Instance[] 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

AUTHOR

public static final AbstractMagnoliaIntegrationTest.Instance AUTHOR

PUBLIC

public static final AbstractMagnoliaIntegrationTest.Instance PUBLIC
Method Detail

values

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

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

valueOf

public static AbstractMagnoliaIntegrationTest.Instance 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

getURL

public String getURL()

getURL

public String getURL(String path)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.