TPTP 4.3.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.core.services
Class AbstractAgentControllerVerificationService

java.lang.Object
  extended byorg.eclipse.hyades.automation.core.AbstractService
      extended byorg.eclipse.hyades.automation.server.AbstractService
          extended byorg.eclipse.hyades.automation.server.AbstractRelaunchableService
              extended byorg.eclipse.hyades.test.core.services.AbstractAgentControllerVerificationService
All Implemented Interfaces:
java.io.Serializable, org.eclipse.hyades.automation.core.Service
Direct Known Subclasses:
AgentControllerVerificationService

public abstract class AbstractAgentControllerVerificationService
extends org.eclipse.hyades.automation.server.AbstractRelaunchableService

The abstract agent controller verification service provides a base implementation of verifying that the agent controller is and and running One input property of 'connection' and one output property of 'verified', the 'verified' property is set to true if the agent controller is available and also the file system services file server is running The service identity is 'org.eclipse.hyades.test.core.verify'

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.eclipse.hyades.automation.core.Service
org.eclipse.hyades.automation.core.Service.Discoverable, org.eclipse.hyades.automation.core.Service.Executable, org.eclipse.hyades.automation.core.Service.Requestable
 
Constructor Summary
protected AbstractAgentControllerVerificationService()
          Default constructor invokes up hierarchy for any initialization required
 
Method Summary
protected  void cleanup()
          Cleanup after service executes
 java.lang.Object execute()
           
protected  void handleThrowable(java.lang.Throwable t)
          Default outputs throwable to standard console out
protected  java.lang.Object returnResult()
          Derive result to return
protected  boolean verify(java.lang.String connection)
          Verify the agent controller specified by the given connection specifier is up and running
 
Methods inherited from class org.eclipse.hyades.automation.server.AbstractRelaunchableService
copy, reconstructCommandLine
 
Methods inherited from class org.eclipse.hyades.automation.server.AbstractService
execute
 
Methods inherited from class org.eclipse.hyades.automation.core.AbstractService
configure, configure, createMemento, getIdentifier, getProperties, getProperty, getProperty, getPublicProperties, getRoot, isQuiet, print, println, println, setMemento, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAgentControllerVerificationService

protected AbstractAgentControllerVerificationService()
Default constructor invokes up hierarchy for any initialization required

Method Detail

cleanup

protected void cleanup()
Cleanup after service executes


execute

public final java.lang.Object execute()

handleThrowable

protected void handleThrowable(java.lang.Throwable t)
Default outputs throwable to standard console out

Parameters:
t - the throwable caught to be handled

returnResult

protected java.lang.Object returnResult()
Derive result to return

Returns:
the result to return, service-level not semantic-level per service domain

verify

protected boolean verify(java.lang.String connection)
Verify the agent controller specified by the given connection specifier is up and running


TPTP 4.3.0 Testing Tools Project
Public API Specification