public abstract class AbstractTestComponent extends java.lang.Object implements ITestComponent
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTestComponent(TestComponentData data) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeStartOperation() |
java.lang.Integer |
getCleanOrder() |
java.lang.String |
getComponentName() |
java.lang.String |
getHost() |
java.lang.String |
getInstallationDir() |
java.lang.String |
getLogDir() |
int |
getPort() |
java.lang.String |
getServer() |
protected abstract Operation |
getStartOperation() |
protected abstract Operation |
getStopOperation() |
OpResult |
performFailedOperation(Operation oOperation) |
OpResult |
performOperation(Operation oOperation) |
protected void |
performStopOperation() |
OpResult |
performSuccessOperation(Operation oOperation) |
void |
restart() |
void |
start() |
void |
stop() |
void |
verifyProcessStopped() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclean, isRunning, prepareprotected AbstractTestComponent(TestComponentData data)
public void start()
start in interface ITestComponentpublic void stop()
stop in interface ITestComponentprotected void executeStartOperation()
protected void performStopOperation()
public void verifyProcessStopped()
protected abstract Operation getStartOperation()
protected abstract Operation getStopOperation()
public void restart()
restart in interface ITestComponentpublic java.lang.String getHost()
getHost in interface ITestComponentpublic java.lang.String getLogDir()
getLogDir in interface ITestComponentpublic java.lang.String getServer()
getServer in interface ITestComponentpublic java.lang.String getComponentName()
getComponentName in interface ITestComponentpublic java.lang.Integer getCleanOrder()
getCleanOrder in interface ITestComponentpublic int getPort()
getPort in interface ITestComponentpublic java.lang.String getInstallationDir()
getInstallationDir in interface ITestComponent