Implementing a new service job in g-Eclipse is quite easy. Providers have to
implement abstract methods of eu.geclipse.servicejob.model.access.GridAccessServiceJob.
This abstract class covers most common
use cases and handles the integration of service job's model classes into Service Job
Framework. The methods essential for ensuring proper functionality of newly developed
services are described in this section.
Before proceeding to interfaces' description below, please make sure that you are familiar
with the common flow of processing service jobs in framework:
eu.geclipse.core.model.IServiceJobeu.geclipse.servicejob.model.access.GridAccessServiceJobeu.geclipse.servicejob.model.AbstractServiceJob.
The abstract implementation's role is to integrate providers' implementations of service jobs
into common Framework's model. This is done with usage of additional information, specific
for different extensions and those information is accessed through abstract methods that are
left for developers to implement.
See also
eu.geclipse.servicejob.model.AbstractServiceJob and
eu.geclipse.servicejob.model.access.GridAccessServiceJob
abstract classes for documentation.
public void init()public String getServiceJobDescription()public List getSingleServiceJobNames() public void run()public InputStream getInputStreamForResult( IServiceJobResult result )IServiceJobResult object.
InputStream will be used to prepare content that will be show in appropriate editor/viewer.This service job is used to check if host's certificate is still valid. For the same host machine different services may be tested (distinguished by port numbers).
eu.geclipse.servicejob.impl.cert.model.CertGridTesteu.geclipse.servicejob.impl.cert.model.parsers.CertResultsParsergetInputStreamForResult( IServiceJobResult result ) method.eu.geclipse.servicejob.impl.cert.ui.CertTestWizardNodeeu.geclipse.servicejob.ui.wizard.AbstractServiceJobWizardNode,
adding certificates test's wizard pages to service job wizard. Please consult
Service job UI part contribution section for details.