com.atlassian.crowd.acceptance.tests.rest
Enum RestServerImpl
java.lang.Object
java.lang.Enum<RestServerImpl>
com.atlassian.crowd.acceptance.tests.rest.RestServerImpl
- All Implemented Interfaces:
- RestServer, Serializable, Comparable<RestServerImpl>
public enum RestServerImpl
- extends Enum<RestServerImpl>
- implements RestServer
INSTANCE
public static final RestServerImpl INSTANCE
values
public static RestServerImpl[] 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 (RestServerImpl c : RestServerImpl.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RestServerImpl 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
getBaseUrl
public final URL getBaseUrl()
- Specified by:
getBaseUrl in interface RestServer
before
public void before()
throws Exception
- Specified by:
before in interface RestServer
- Throws:
Exception
after
public void after()
- Specified by:
after in interface RestServer
decorateClient
public com.sun.jersey.api.client.Client decorateClient(com.sun.jersey.api.client.Client client)
- Specified by:
decorateClient in interface RestServer
Copyright © 2014 Atlassian. All Rights Reserved.