TPTP 4.3.0 Testing Tools Project
Public API Specification

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

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.AbstractResourceContentsExtractionService
All Implemented Interfaces:
java.io.Serializable, org.eclipse.hyades.automation.core.Service
Direct Known Subclasses:
ResourceContentsExtractionService

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

Work in progress (currently under development and not functional yet)

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 AbstractResourceContentsExtractionService()
          Default constructor invokes up hierarchy for any initialization required
 
Method Summary
protected  void cleanup()
          Cleanup after service executes
 java.lang.Object execute()
           
protected  void extract()
          Extract content from the specified resource
protected  void handleThrowable(java.lang.Throwable t)
          Default outputs throwable to standard console out
protected  java.lang.Object returnResult()
          Derive result to return
 
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

AbstractResourceContentsExtractionService

protected AbstractResourceContentsExtractionService()
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()

extract

protected void extract()
Extract content from the specified resource


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

TPTP 4.3.0 Testing Tools Project
Public API Specification