public static enum InstanceAwareTestCase.Instance extends Enum<InstanceAwareTestCase.Instance> implements InstanceProperties
Enum Constant and Description |
---|
AUTHOR |
DIRECT_AUTHOR |
DIRECT_PUBLIC |
PUBLIC |
Modifier and Type | Field and Description |
---|---|
protected IntegrationTestSettings |
testSettings |
Modifier and Type | Method and Description |
---|---|
String |
getDomain() |
String |
getURL() |
String |
getURL(String path) |
static InstanceAwareTestCase.Instance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceAwareTestCase.Instance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getContextPath
public static final InstanceAwareTestCase.Instance AUTHOR
public static final InstanceAwareTestCase.Instance PUBLIC
public static final InstanceAwareTestCase.Instance DIRECT_AUTHOR
public static final InstanceAwareTestCase.Instance DIRECT_PUBLIC
protected IntegrationTestSettings testSettings
public static InstanceAwareTestCase.Instance[] values()
for (InstanceAwareTestCase.Instance c : InstanceAwareTestCase.Instance.values()) System.out.println(c);
public static InstanceAwareTestCase.Instance valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDomain()
getDomain
in interface InstanceProperties
public String getURL()
getURL
in interface InstanceProperties
public String getURL(String path)
getURL
in interface InstanceProperties
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.