org.aludratest.service.cmdline
Interface CommandLineService

All Superinterfaces:
AludraCloseable, AludraService, Closeable
All Known Implementing Classes:
CommandLineServiceImpl

public interface CommandLineService
extends AludraService

Provides command line operations, like executíng a program or script and check the results. The service provides an interface with streams for sending data to the executable and reading results back.

Author:
Volker Bergmann

Method Summary
 CommandLineCondition check()
          Exhibits the service's Condition implementor
 String getBaseDirectory()
           
 CommandLineInteraction perform()
          Exhibits the service's Interaction implementor
 CommandLineVerification verify()
          Exhibits the service's Verification implementor
 
Methods inherited from interface org.aludratest.service.AludraService
getDescription, getInstanceName, init, setSystemConnector
 
Methods inherited from interface org.aludratest.service.AludraCloseable
close
 

Method Detail

perform

CommandLineInteraction perform()
Exhibits the service's Interaction implementor

Specified by:
perform in interface AludraService
Returns:
the service's Interaction object

verify

CommandLineVerification verify()
Exhibits the service's Verification implementor

Specified by:
verify in interface AludraService
Returns:
the service's Verification object

check

CommandLineCondition check()
Exhibits the service's Condition implementor

Specified by:
check in interface AludraService
Returns:
the service's Condition object

getBaseDirectory

String getBaseDirectory()
Returns:
the configured base.directory


Copyright © 2015 aludratest.org. All rights reserved.