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.ExecutorException
public void run(ServerSetup owner) throws Exception
SetupPhase
run
in interface SetupPhase
Exception
public boolean isStartupPhase()
SetupPhase
isStartupPhase
in interface SetupPhase
public String getId()
SetupPhase
ServerSetup
to decide
which phases to rungetId
in interface SetupPhase
public SetupPhase getKillPhase(String id)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.