|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aludratest.service.AbstractAludraService org.aludratest.service.AbstractConfigurableAludraService org.aludratest.service.cmdline.impl.CommandLineServiceImpl
public class CommandLineServiceImpl
Default implementation of the CommandLineService
. It uses a single CommandLineActionImpl
instance.
Field Summary |
---|
Fields inherited from class org.aludratest.service.AbstractAludraService |
---|
aludraServiceContext |
Constructor Summary | |
---|---|
CommandLineServiceImpl()
|
Method Summary | |
---|---|
CommandLineCondition |
check()
Exhibits the service's Condition implementor |
void |
close()
Closes the service |
void |
configure(Preferences preferences)
Called by the framework to let a configurable object configure itself according to the passed Preferences object. |
String |
getBaseDirectory()
|
String |
getDescription()
Provides a textual description of the most important configuration information to be logged when the service is configured. |
String |
getPropertiesBaseName()
Returns the base name for properties files for this configurable, e.g. |
void |
initService()
Abstract initialization method to be implemented by child classes for individual initialization operations. |
CommandLineInteraction |
perform()
Exhibits the service's Interaction implementor |
CommandLineVerification |
verify()
Exhibits the service's Verification implementor |
Methods inherited from class org.aludratest.service.AbstractConfigurableAludraService |
---|
fillDefaults, getDefaultsResourceName |
Methods inherited from class org.aludratest.service.AbstractAludraService |
---|
getInstanceName, init, setSystemConnector, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.aludratest.service.AludraService |
---|
getInstanceName, init, setSystemConnector |
Constructor Detail |
---|
public CommandLineServiceImpl()
Method Detail |
---|
public String getDescription()
AludraService
getDescription
in interface AludraService
public String getPropertiesBaseName()
Configurable
getPropertiesBaseName
in interface Configurable
null
.public void configure(Preferences preferences) throws AutomationException
Configurable
configure
in interface Configurable
preferences
- Configuration object for this configurable.
AutomationException
- If the configuration contains invalid elements.public void initService()
AbstractAludraService
aludraServiceContext
field to retrieve instances of other services, if required.
initService
in class AbstractAludraService
public void close()
close
in interface Closeable
close
in interface AludraCloseable
public CommandLineInteraction perform()
CommandLineService
perform
in interface AludraService
perform
in interface CommandLineService
Interaction
objectpublic CommandLineVerification verify()
CommandLineService
verify
in interface AludraService
verify
in interface CommandLineService
Verification
objectpublic CommandLineCondition check()
CommandLineService
check
in interface AludraService
check
in interface CommandLineService
Condition
objectpublic String getBaseDirectory()
getBaseDirectory
in interface CommandLineService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |