|
Version: ${maven.project.version} | ||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SoaplabException in org.soaplab.services |
---|
Methods in org.soaplab.services that throw SoaplabException | |
---|---|
long |
Job.getCreated()
Job created - returns number of seconds from the BOE. |
long |
Job.getElapsed()
Job time elapsed - returns number in milliseconds. |
long |
Job.getEnded()
Job ended - returns number of seconds from the BOE. |
java.io.File |
Job.getJobDir()
Create (unless it already exists) and return a new directory which will become a working directory for this job. |
java.io.File |
AbstractJob.getJobDir()
The job directory is created in a SANDBOX (see more in getSandbox()). |
java.util.Properties |
Reporter.getJobProperties()
|
java.lang.String |
Job.getLastEvent()
Get the last event. |
java.util.Map<java.lang.String,java.lang.Object> |
Job.getResults()
Return all (available) results. |
java.util.Map<java.lang.String,java.lang.Object> |
Reporter.getResults()
Retrieve and return all available results, set so far. |
java.util.Map<java.lang.String,java.lang.Object> |
AbstractJob.getResults()
Return all (available) results. |
java.util.Map<java.lang.String,java.lang.Object> |
Job.getResults(java.lang.String[] resultNames)
Return all wanted (and available) results. |
java.util.Map<java.lang.String,java.lang.Object> |
Reporter.getResults(java.lang.String[] nameList)
|
java.util.Map<java.lang.String,java.lang.Object> |
AbstractJob.getResults(java.lang.String[] resultNames)
Return all wanted (and available) results. |
java.util.Map<java.lang.String,java.lang.String>[] |
Job.getResultsInfo()
|
java.util.Map<java.lang.String,java.lang.String>[] |
Reporter.getResultsInfo()
|
java.util.Map<java.lang.String,java.lang.String>[] |
AbstractJob.getResultsInfo()
|
long |
Job.getStarted()
Job started - returns number of seconds from the BOE. |
java.lang.String |
Job.getStatus()
Get job status. |
void |
Job.run()
Run it. |
void |
AbstractJob.run()
The meat of Soaplab. |
void |
Reporter.setDetailedStatusResult()
Store 'detailed_status' result persistently. |
void |
Job.setInputs(java.util.Map<java.lang.String,java.lang.Object> inputs)
Set input data into this job. |
void |
AbstractJob.setInputs(java.util.Map<java.lang.String,java.lang.Object> inputs)
Set input data into this job. |
void |
Job.setInputValue(java.lang.String inputName,
java.lang.Object value)
Set one input value. |
void |
AbstractJob.setInputValue(java.lang.String inputName,
java.lang.Object value)
Set an input value, given by its name. |
void |
Reporter.setJobProperties(java.util.Properties props)
|
void |
Reporter.setReportResult()
Store 'report' result persistently. |
void |
Reporter.setResult(java.lang.String resultName,
java.lang.Object result)
It stores given result under given name. |
void |
Job.terminate()
Terminate this running job. |
void |
AbstractJob.terminate()
Terminate this running job. |
void |
Job.waitFor()
Block and wait for completion. |
void |
AbstractJob.waitFor()
Block and wait until job completes. |
Uses of SoaplabException in org.soaplab.services.adaptor |
---|
Methods in org.soaplab.services.adaptor that throw SoaplabException | |
---|---|
void |
DataAdaptor.process(java.lang.String dataName,
java.io.InputStream source,
java.io.OutputStream result,
Job job)
Read 'source' data, adapt them, and write them back into 'result'. |
java.lang.Object |
DataAdaptor.processFromList(java.lang.String dataName,
java.util.List source,
Job job)
Read 'source' data, adapt them, and return them back. |
Uses of SoaplabException in org.soaplab.services.events |
---|
Methods in org.soaplab.services.events that throw SoaplabException | |
---|---|
AnalysisEvent |
DefaultDeserializer.deserialize(java.lang.Object source,
java.io.File xmlEventFile)
|
AnalysisEvent |
EventDeserializer.deserialize(java.lang.Object source,
java.io.File xmlEventFile)
Create an object representing an event from XML stored in given file. |
AnalysisEvent |
DefaultDeserializer.deserialize(java.lang.Object source,
java.lang.String xmlEvent)
|
AnalysisEvent |
EventDeserializer.deserialize(java.lang.Object source,
java.lang.String xmlEvent)
Create an object representing an event from 'xmlEvent'. |
Uses of SoaplabException in org.soaplab.services.metadata |
---|
Methods in org.soaplab.services.metadata that throw SoaplabException | |
---|---|
static java.util.Map<java.lang.String,java.lang.Object> |
MetadataUtils.analysisSpec2Map(MetadataAccessor metadataAccessor)
Convert a set of Analysis attributes into a Map (as defined and used, for example, by Analysis in Soaplab. |
void |
MetadataAccessorXML.checkMetadata()
Check if loaded metadata contains all necessary tags. |
java.lang.String |
MetadataAccessor.describe()
Return the whole metadata in the raw format. |
java.lang.String |
MetadataAccessorXML.describe()
|
MetadataAccessor |
DefaultMetadataAccessorFactory.getInstance(java.lang.String serviceName)
|
MetadataAccessor |
MetadataAccessorFactory.getInstance(java.lang.String serviceName)
|
java.lang.String |
MetadataAccessor.getServiceName()
Return a name of a service providing this analysis. |
java.lang.String |
MetadataAccessorXML.getServiceName()
|
static java.util.Map<java.lang.String,java.lang.Object>[] |
MetadataUtils.inputSpec2Map(MetadataAccessor metadataAccessor)
Convert a set of InputPropertyDef's into a Map (as defined and used, for example, by Analysis in Soaplab. |
static java.util.Map<java.lang.String,java.lang.Object>[] |
MetadataUtils.outputSpec2Map(MetadataAccessor metadataAccessor)
Convert a set of OutputPropertyDef's into a Map (as defined and used, for example, by Analysis in Soaplab). |
static java.lang.String[] |
MetadataUtils.parseLauncher(MetadataAccessor metadataAccessor,
java.lang.String serviceName,
java.lang.Object owner)
Find the 'launcher' directive in the given metadata, or in the configuration (using given 'serviceName' and the caller), and parse it into a list of two elements. |
Constructors in org.soaplab.services.metadata that throw SoaplabException | |
---|---|
MetadataAccessorXML(java.lang.String serviceName)
A real constructor. |
Uses of SoaplabException in org.soaplab.services.protocol |
---|
Methods in org.soaplab.services.protocol that throw SoaplabException | |
---|---|
java.lang.String |
ProtocolToolkit.getServiceName()
Return name of service which was called by the current request. |
Uses of SoaplabException in org.soaplab.services.storage |
---|
Methods in org.soaplab.services.storage that throw SoaplabException | |
---|---|
java.util.Properties |
PersistentStorage.getJobProperties(java.lang.String jobId)
Return known properties of the given job. |
org.soaplab.services.JobState |
PersistentStorage.getJobState(java.lang.String jobId)
This is as close to re-creating a stored job as possible. |
java.lang.Object |
PersistentStorage.getResult(java.lang.String jobId,
java.lang.String name)
Find in this persistent storage the given result for the given job and return them back. |
java.util.Map<java.lang.String,java.lang.Object> |
PersistentStorage.getResults(java.lang.String jobId)
Find in this persistent storage all results for the given job and return them back. |
java.util.Map<java.lang.String,java.lang.String>[] |
PersistentStorage.getResultsInfo(java.lang.String jobId)
Return properties associated with all results from the given job. |
void |
PersistentStorage.removeJob(java.lang.String jobId)
Remove given job from this persistent storage. |
void |
PersistentStorage.setJob(Job job)
Store Job's state information to the persistent storage. |
void |
PersistentStorage.setJobProperties(java.lang.String jobId,
java.util.Properties props)
Store properties for the given job. |
void |
PersistentStorage.setResult(Job job,
java.lang.String name,
java.lang.Object result)
Store result in the persistent storage. |
Uses of SoaplabException in org.soaplab.share |
---|
Methods in org.soaplab.share that throw SoaplabException | |
---|---|
java.lang.String |
Analysis.createAndRun(SoaplabMap inputs)
A convenient combination of methods Analysis.createJob(org.soaplab.share.SoaplabMap) and
run . |
java.lang.String |
Analysis.createAndRunNotifiable(SoaplabMap inputs,
java.lang.String notificationDescriptor)
The same as Analysis.createAndRun(org.soaplab.share.SoaplabMap) with addition of the
channel notification negotiation. |
java.lang.String |
Analysis.createJob(SoaplabMap inputs)
Prepare a job with given input data but do not start it. |
java.lang.String |
Analysis.describe()
Return an XML string containing metadata describing this analysis service. |
void |
Analysis.destroy(java.lang.String jobID)
Release related resources, including results. |
SoaplabMap |
Analysis.getAnalysisType()
Return attributes describing this analysis. |
SoaplabMap |
Analysis.getCharacteristics(java.lang.String jobID)
Returning job's time characteristics. |
SoaplabMap[] |
Analysis.getInputSpec()
Return information about all possible data inputs. |
java.lang.String |
Analysis.getLastEvent(java.lang.String jobID)
Return the last event which happened to the given job. |
java.lang.String |
Analysis.getNotificationDescriptor(java.lang.String jobID)
Return an XML string describing location and available protocol (or even protocols) of a notification channel which will have messages regarding given job. |
SoaplabMap |
Analysis.getResults(java.lang.String jobID)
Return all (available) results from the given job. |
SoaplabMap[] |
Analysis.getResultsInfo(java.lang.String jobId)
|
SoaplabMap[] |
Analysis.getResultSpec()
Return information about all possible results. |
SoaplabMap |
Analysis.getSomeResults(java.lang.String jobID,
java.lang.String[] resultNames)
Return named (and available) results from the given job. |
java.lang.String |
Analysis.getStatus(java.lang.String jobID)
Return a string describing the current job status. |
void |
Analysis.run(java.lang.String jobID)
Start an underlying analysis and return immediately, without waiting for its completion. |
SoaplabMap |
Analysis.runAndWaitFor(SoaplabMap inputs)
Block the client until the underlying running analysis is completed and return immediately all results. |
void |
Analysis.runNotifiable(java.lang.String jobID,
java.lang.String notificationDescriptor)
The same as Analysis.run(java.lang.String) with addition of the
channel notification negotiation. |
void |
Analysis.terminate(java.lang.String jobID)
Terminate the running analysis, identified by its job ID. |
void |
Analysis.waitFor(java.lang.String jobID)
Block the client until the underlying running analysis is completed. |
|
Version: ${maven.project.version} | ||||||||
PREV NEXT | FRAMES NO FRAMES |