Package | Description |
---|---|
org.json | |
uws.config | |
uws.job | |
uws.job.serializer | |
uws.service | |
uws.service.actions | |
uws.service.backup | |
uws.service.file |
Modifier and Type | Method and Description |
---|---|
static org.json.JSONObject |
Json4Uws.getJobResultJson(Result r)
Gets the JSON representation of the the given result.
|
Modifier and Type | Method and Description |
---|---|
UWSJob |
ConfigurableUWSFactory.createJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Result> |
UWSJob.results
This is a list of all results of this job.
|
Modifier and Type | Method and Description |
---|---|
Result |
JobThread.createResult()
Creates a default result description.
|
Result |
JobThread.createResult(java.lang.String name)
Creates a default result description but by precising its name/ID.
|
Result |
UWSJob.getResult(java.lang.String resultId)
Gets the specified result.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Result> |
UWSJob.getResults()
Gets the results list of this job.
|
Modifier and Type | Method and Description |
---|---|
boolean |
UWSJob.addResult(Result res)
Adds the given result in the results list of this job.
|
java.io.OutputStream |
JobThread.getResultOutput(Result resultToWrite)
Gets an output stream for the given result.
|
long |
JobThread.getResultSize(Result result)
Gets the size of the corresponding result file.
|
void |
JobThread.publishResult(Result result)
Publishes the given result in the job.
|
Constructor and Description |
---|
UWSJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error)
CONSTRUCTOR TO USE TO RESTORE A JOB whatever is its phase.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
XMLSerializer.getResult(Result result,
boolean root) |
java.lang.String |
JSONSerializer.getResult(Result result,
boolean root) |
abstract java.lang.String |
UWSSerializer.getResult(Result result,
boolean root)
Serializes the given result.
|
Modifier and Type | Method and Description |
---|---|
UWSJob |
UWSServlet.createJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error) |
UWSJob |
UWSFactory.createJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error)
Creates a UWS job with the following attributes.
|
UWSJob |
AbstractUWSFactory.createJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error) |
Modifier and Type | Method and Description |
---|---|
boolean |
GetJobParam.isDefaultUrl(Result result,
UWSJob job)
Tells whether the URL of this Result is the default one.
|
Modifier and Type | Method and Description |
---|---|
protected Result |
DefaultUWSBackupManager.getResult(org.json.JSONObject obj)
Builds the result corresponding to the given JSON object.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Result> |
DefaultUWSBackupManager.getResults(org.json.JSONArray array)
Builds the list of results corresponding to the given JSON array.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LocalUWSFileManager.deleteResult(Result result,
UWSJob job) |
boolean |
UWSFileManager.deleteResult(Result result,
UWSJob job)
Deletes the result file corresponding to the given job result's
description.
|
protected java.io.File |
LocalUWSFileManager.getResultFile(Result result,
UWSJob job)
Gets the file corresponding to the given result.
|
protected java.lang.String |
LocalUWSFileManager.getResultFileName(Result result,
UWSJob job)
Gets the name of the file in which the given result is/must be written.
|
java.io.InputStream |
LocalUWSFileManager.getResultInput(Result result,
UWSJob job) |
java.io.InputStream |
UWSFileManager.getResultInput(Result result,
UWSJob job)
Gets an input stream on the result file corresponding to the given job
result.
|
java.io.OutputStream |
LocalUWSFileManager.getResultOutput(Result result,
UWSJob job) |
java.io.OutputStream |
UWSFileManager.getResultOutput(Result result,
UWSJob job)
Gets an output stream on the result file corresponding to the given job
result.
|
long |
LocalUWSFileManager.getResultSize(Result result,
UWSJob job) |
long |
UWSFileManager.getResultSize(Result result,
UWSJob job)
Gets the size of the specified result file.
|