public enum RestServerImpl extends Enum<RestServerImpl> implements RestServer
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
after()
This method is called after each test is run, and it should free resources.
|
void |
before(Class testClass,
String testName)
This method is called before each test is run, and it should reset the server in a predictable state.
|
javax.ws.rs.client.Client |
decorateClient(javax.ws.rs.client.Client client)
Perform custom processing on the Jersey client, such as adding any necessary headers for multitenant tests.
|
static RestServerImpl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestServerImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestServerImpl INSTANCE
public static RestServerImpl[] values()
for (RestServerImpl c : RestServerImpl.values()) System.out.println(c);
public static RestServerImpl 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 void before(Class testClass, String testName)
RestServerbefore in interface RestServertestClass - the class containing the currently ran testtestName - the name of the test methodpublic void after()
RestServerafter in interface RestServerpublic javax.ws.rs.client.Client decorateClient(javax.ws.rs.client.Client client)
RestServerdecorateClient in interface RestServerclient - The client to decorateCopyright © 2025 Atlassian. All rights reserved.