|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IServiceJob
Interface for structural service job.
| Method Summary | |
|---|---|
void |
addServiceJobResult(java.util.List<IServiceJobResult> newResults)
This method should be called each time when service job was run and new results are available. |
int |
getColumnWidth(java.lang.String singleServiceJobName)
This method sets column width for single service job with a name specified as parameter. |
java.io.InputStream |
getInputStreamForResult(IServiceJobResult result)
Given the instance of IServiceJobResult class should return input
stream of result's specific data (the type of data is determined by method
IServiceJobResult.getResultType() |
java.util.Date |
getLastUpdate()
Method to access date of last service job submission. |
java.util.Date |
getLastUpdate(java.lang.String remoteResourceName)
The same as getLastUpdate(), but should be used in case
there can be difference in number of service job's runs for each resource. |
java.lang.String |
getName()
Method returning service job name. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Method returns all the data which needs to be viewed in properties view. |
java.util.List<IServiceJobResult> |
getResults()
Method to access list of single service job's results |
java.lang.String |
getServiceJobDescription()
Short, user friendly description of this service job. |
java.util.List<java.lang.String> |
getServiceJobResourcesNames()
Method to access names of the resources on which service job is operating. |
java.util.List<java.util.List<IServiceJobResult>> |
getServiceJobResultsForResourceForDate(java.lang.String resourceName)
This method gives access to ordered collection of sub service jobs' results. |
java.util.List<java.lang.String> |
getSingleServiceJobNames()
Method to access all single service job's names that are run as a one IServiceJob implementation. |
IServiceJobResult |
getSingleServiceJobResult(java.lang.String singleServiceJobName,
java.lang.String resourceName,
java.util.Date date)
Method to access text interpretation of single service job for given single service job's name performed on target resource at given date. |
java.lang.Object |
getStatus()
|
IGridJobService |
getSubmissionService()
Gives access to information to which submission service service's jobs should be submitted. |
java.lang.Object |
getSummary()
Method returning result of the service job - as a summary of single service jobs. |
void |
init()
|
void |
internalInit(IFile initInputData)
This method is used to initialize instance just after it was created with some data. |
boolean |
needsSubmissionWizard()
This method is to obtain information whether service job implementation needs to display job submission wizard to the user when it is being run. |
void |
run()
Method to run a service job |
void |
setSubmissionService(IGridJobService submissionService)
Method to set the submission service for use when job-based service jobs are submitted. |
| Methods inherited from interface eu.geclipse.core.model.IManageable |
|---|
getManager |
| Method Detail |
|---|
void internalInit(IFile initInputData)
initInputData - object with information to initialize new (and most
likely empty) instance of classvoid init()
java.util.List<java.lang.String> getSingleServiceJobNames()
java.util.List<java.lang.String> getServiceJobResourcesNames()
IServiceJobResult getSingleServiceJobResult(java.lang.String singleServiceJobName,
java.lang.String resourceName,
java.util.Date date)
singleServiceJobName - name of single service jobresourceName - name of resource service job is performing ondate - date of the submission
java.lang.String getServiceJobDescription()
java.lang.String getName()
getName in interface IGridElementjava.util.Map<java.lang.String,java.lang.String> getProperties()
java.util.List<IServiceJobResult> getResults()
void run()
java.lang.Object getStatus()
java.lang.Object getSummary()
java.util.Date getLastUpdate()
java.util.Date getLastUpdate(java.lang.String remoteResourceName)
getLastUpdate(), but should be used in case
there can be difference in number of service job's runs for each resource.
remoteResourceName - Name of a resource where service job should run.
java.util.List<java.util.List<IServiceJobResult>> getServiceJobResultsForResourceForDate(java.lang.String resourceName)
resourceName - Name of resource (e.g. host name).
void addServiceJobResult(java.util.List<IServiceJobResult> newResults)
newResults - list of new results that should be added to set of
results maintained by this service job's classjava.io.InputStream getInputStreamForResult(IServiceJobResult result)
IServiceJobResult class should return input
stream of result's specific data (the type of data is determined by method
IServiceJobResult.getResultType()
result - Single service job result.
int getColumnWidth(java.lang.String singleServiceJobName)
singleServiceJobName - Name of the single service job.
boolean needsSubmissionWizard()
getSubmissionService() method).
true if this service job needs information to which
submission service submit its jobs, false otherwisevoid setSubmissionService(IGridJobService submissionService)
submissionService - IGridJobService getSubmissionService()
needsSubmissionWizard()).
null in case this information
wasn't set yet, or when service job implementation did not declare
that this information is needed (see
needsSubmissionWizard()).
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||