public class StartRunnableJarPhase extends Object implements SetupPhase
| Modifier and Type | Field and Description |
|---|---|
static String |
TEST_SERVER_HOSTNAME |
| Constructor and Description |
|---|
StartRunnableJarPhase(ServerSetup owner,
String id,
String description,
Properties config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Get the phase ID string, a list of those
is used by
ServerSetup to decide
which phases to run |
SetupPhase |
getKillPhase(String id)
Return a SetupPhase that kills the process started by this phase
|
boolean |
isStartupPhase()
Is this a startup or shutdown phase?
|
void |
run(ServerSetup owner)
Run this phase in the context of supplied ServerSetup
|
String |
toString() |
public static final String TEST_SERVER_HOSTNAME
public StartRunnableJarPhase(ServerSetup owner, String id, String description, Properties config) throws JarExecutor.ExecutorException
JarExecutor.ExecutorExceptionpublic void run(ServerSetup owner) throws Exception
SetupPhaserun in interface SetupPhaseExceptionpublic boolean isStartupPhase()
SetupPhaseisStartupPhase in interface SetupPhasepublic String getId()
SetupPhaseServerSetup to decide
which phases to rungetId in interface SetupPhasepublic SetupPhase getKillPhase(String id)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.