- readNext() - Method in class uws.service.backup.DefaultUWSBackupManager.JSONArrayReader
-
- readPermissionDenied(JobOwner, boolean, String) - Static method in class uws.UWSExceptionFactory
-
- readPermissionDenied(JobOwner, boolean, String, String) - Static method in class uws.UWSExceptionFactory
-
- redirect(String, HttpServletRequest, JobOwner, String, HttpServletResponse) - Method in class uws.service.UWSService
-
Sends a redirection (with the HTTP status code 303) to the given URL/URI into the given response.
- redirect(String, HttpServletRequest, JobOwner, String, HttpServletResponse) - Method in class uws.service.UWSServlet
-
Sends a redirection (with the HTTP status code 303) to the given URL/URI into the given response.
- redirection - Variable in class uws.job.Result
-
Tells whether a redirection toward the given URL is required to get the result content.
- refine(Iterator<UWSJob>) - Method in class uws.job.serializer.filter.JobListRefiner
-
Filter (and eventually sort and/or limit in size) the given list of jobs.
- refresh() - Method in class uws.job.manager.AbstractQueuedExecutionManager
-
- refresh() - Method in class uws.job.manager.DefaultDestructionManager
-
First, check the currently planned job:
if
DefaultDestructionManager.currentDate
is past, the timer is stopped.
else if another job must be destroyed before the current one
or if the destruction time of the current job has been
changed, the timer is stopped and the job is re-added into
the list of jobs to destroy.
Then, only if there is no currently planned job:
Clean the list of jobs to destroy (jobs which are supposed
to be destroyed are destroyed and the others are only
removed from this manager).
Restart the timer with the first job to destroy.
- refresh() - Method in class uws.job.manager.DefaultExecutionManager
-
Does nothing in its implementation.
- refresh() - Method in interface uws.job.manager.DestructionManager
-
Refresh the list of jobs to destroy.
- refresh() - Method in interface uws.job.manager.ExecutionManager
-
Refreshes the lists of running and queued jobs.
- REGEXP_DAYS - Static variable in class uws.job.parameters.DurationParamController
-
Regular Expression of all string allowed to mean DAYS.
- REGEXP_DEFAULT_DESTRUCTION_INTERVAL - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of the name/key of the property specifying the default destruction interval for jobs of a given job list.
- REGEXP_DEFAULT_EXEC_DURATION - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of the name/key of the property specifying the default execution duration for jobs of a given job list.
- REGEXP_DESTRUCTION_MANAGER - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of the name/key of the property specifying the
DestructionManager
instance that a given job list must use.
- REGEXP_EXECUTION_MANAGER - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of the name/key of the property specifying the
ExecutionManager
instance that a given job list must use.
- REGEXP_HOURS - Static variable in class uws.job.parameters.DurationParamController
-
Regular Expression of all string allowed to mean HOURS.
- REGEXP_JOB_LIST_NAME - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of a job list name supposed to represent a job list name.
- REGEXP_JOB_THREAD - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of the name/key of the property specifying the
JobThread
instance to use for a given job list.
- REGEXP_MAX_EXEC_DURATION - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of the name/key of the property specifying the maximum execution duration for jobs of a given job list.
- REGEXP_MAX_RUNNING_JOBS - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of the name/key of the property specifying maximum number of jobs that can run in parallel inside
the specified job list.
- REGEXP_MIN - Static variable in class uws.job.parameters.DurationParamController
-
Regular Expression of all string allowed to mean MINUTES.
- REGEXP_MONTHS - Static variable in class uws.job.parameters.DurationParamController
-
Regular Expression of all string allowed to mean MONTHS.
- REGEXP_MS - Static variable in class uws.job.parameters.DurationParamController
-
Regular Expression of all string allowed to mean MILLISECONDS.
- REGEXP_PARAMETERS - Static variable in class uws.config.UWSConfiguration
-
Regular Expression of the name/key of the property listing all parameters expected for jobs of a given job list.
- REGEXP_SEC - Static variable in class uws.job.parameters.DurationParamController
-
Regular Expression of all string allowed to mean SECONDS.
- REGEXP_WEEKS - Static variable in class uws.job.parameters.DurationParamController
-
Regular Expression of all string allowed to mean WEEKS.
- REGEXP_YEARS - Static variable in class uws.job.parameters.DurationParamController
-
Regular Expression of all string allowed to mean YEARS.
- remove(UWSJob) - Method in class uws.job.manager.AbstractQueuedExecutionManager
-
Removes the given job from the lists of queued and running jobs and
then refreshes the manager.
- remove(UWSJob) - Method in class uws.job.manager.DefaultDestructionManager
-
Merely removes the given job from the list of jobs to destroyed.
- remove(UWSJob) - Method in class uws.job.manager.DefaultExecutionManager
-
- remove(UWSJob) - Method in interface uws.job.manager.DestructionManager
-
Removes the given job from this manager.
- remove(UWSJob) - Method in interface uws.job.manager.ExecutionManager
-
Removes the job from this manager whatever is its current execution phase.
- remove(String) - Method in class uws.job.parameters.UWSParameters
-
Removes the value of the given input parameter name.
- remove() - Method in class uws.job.serializer.filter.JobListRefiner.TopIterator
-
- remove() - Method in class uws.service.backup.DefaultUWSBackupManager.JSONArrayReader
-
- remove() - Method in class uws.service.backup.DefaultUWSBackupManager.JSONObjectReader
-
- remove() - Method in class uws.service.backup.DefaultUWSBackupManager.SingleInputIterator
-
- remove() - Method in class uws.service.file.LocalUWSFileManager.LocalAllUserBackupInputs
-
- removeAdditionalParameter(String) - Method in class uws.job.UWSJob
-
Removes the specified additional parameter ONLY IF the job can be updated
(considering its current execution phase, see
JobPhase.isJobUpdatable()
).
- removeAllObservers() - Method in class uws.job.UWSJob
-
Lets removing all observers of this job.
- removeExpectedAdditionalParam(String) - Method in class uws.service.AbstractUWSFactory
-
Removes the name of an expected additional parameter.
- removeExpectedAdditionalParam(String) - Method in class uws.service.UWSServlet
-
Removes the name of an expected additional parameter.
- removeInputParamController(String) - Method in class uws.service.AbstractUWSFactory
-
Removes the controller of the specified input UWS job parameter.
- removeInputParamController(String) - Method in class uws.service.UWSServlet
-
Removes the controller of the specified input UWS job parameter.
- removeJob(String) - Method in class uws.job.JobList
-
Lets removing (NOT DESTROYING) the specified job from this jobs list.
- removeObserver(JobObserver) - Method in class uws.job.UWSJob
-
Lets removing the given object from the list of observers of this job.
- removeSerializer(String) - Method in class uws.service.UWSService
-
Removes the serializer whose the MIME type is the same as the given one.
- removeSerializer(String) - Method in class uws.service.UWSServlet
-
Removes the serializer whose the MIME type is the same as the given one.
- removeUserData(String) - Method in class uws.job.user.DefaultJobOwner
-
- removeUWSAction(int) - Method in class uws.service.UWSService
-
Removes the specified action from this UWS.
- removeUWSAction(String) - Method in class uws.service.UWSService
-
Removes the action of this UWS which has the same name as the given one.
- replaceUWSAction(UWSAction) - Method in class uws.service.UWSService
-
Replaces the action which has the same name that the given action.
- REQ_ATTRIBUTE_ID - Static variable in interface uws.service.UWS
-
Attribute of the HttpServletRequest to set and to get in order to access the request ID set by the UWS library.
- REQ_ATTRIBUTE_JOB_DESCRIPTION - Static variable in interface uws.service.UWS
-
Attribute of the HttpServletRequest to set and to get in order to access the Job-Description (generally in XML)
sent instead of the "normal" HTTP-POST/-PUT parameters in the HTTP request body.
- REQ_ATTRIBUTE_PARAMETERS - Static variable in interface uws.service.UWS
-
Attribute of the HttpServletRequest to set and to get in order to access the parameters extracted by the UWS library (using a RequestParser).
- REQ_ATTRIBUTE_USER - Static variable in interface uws.service.UWS
-
Attribute of the HttpServletRequest to set and to get in order to access the user at the origin of the HTTP request.
- REQUEST_ENTITY_TOO_LARGE - Static variable in exception uws.UWSException
-
- RequestParser - Interface in uws.service.request
-
This parser lets extract parameters from an HttpServletRequest
.
- requestParser - Variable in class uws.service.UWSService
-
Lets extract all parameters from an HTTP request, whatever is its content-type.
- requestParser - Variable in class uws.service.UWSServlet
-
Lets extract all parameters from an HTTP request, whatever is its content-type.
- requestURI - Variable in class uws.service.UWSUrl
-
The request URI (i.e.
- requestURL - Variable in class uws.service.UWSUrl
-
The whole request URL (i.e.
- reset(Number, Number, Number) - Method in class uws.job.parameters.NumericParamController
-
Reset all fields in the same time.
- restoreAll() - Method in class uws.service.backup.DefaultUWSBackupManager
-
- restoreAll() - Method in interface uws.service.backup.UWSBackupManager
-
Restore all jobs list and all information about the jobs owners.
- restoreData(Map<String, Object>) - Method in class uws.job.user.DefaultJobOwner
-
- restoreData(Map<String, Object>) - Method in interface uws.job.user.JobOwner
-
Restores any additional user data from the given map.
- restoreFile() - Method in class uws.job.jobInfo.XMLJobInfo
-
Restore the link toward the XML file represented by this
JobInfo
.
- restoreJob(JSONObject, Map<String, JobOwner>) - Method in class uws.service.backup.DefaultUWSBackupManager
-
Builds the job corresponding to the given JSON object and then restore it in the UWS.
- restoreJobInfo(Object) - Method in class uws.service.backup.DefaultUWSBackupManager
-
Restore the JobInfo referenced or represented by the given JSON value.
- restoreOtherJobParams(JSONObject, UWSJob) - Method in class uws.service.backup.DefaultUWSBackupManager
-
Restores other job parameters, either from the given JSON object or from the parameters map of the given job.
- restoreUser(String, String, Map<String, Object>) - Method in interface uws.service.UserIdentifier
-
Creates a user with the given parameters or merely gets it if it already exists after updating it.
- Result - Class in uws.job
-
This class gives a short description (mainly an ID and a URL) of a job result.
- Result(UWSJob, URL) - Constructor for class uws.job.Result
-
Builds a result with the URL toward the file which contains the result content.
- Result(UWSJob, String) - Constructor for class uws.job.Result
-
Builds a result with just a name/ID.
- Result(UWSJob, String, String) - Constructor for class uws.job.Result
-
Builds a result with an ID/name and the URL toward the file which contains the result content.
- Result(UWSJob, String, String, String) - Constructor for class uws.job.Result
-
Builds a result with an ID/name, a result type and the URL toward the file which contains the result content.
- Result(String, String, String, boolean) - Constructor for class uws.job.Result
-
Builds MANUALLY a result with an ID/name, a result type and the URL toward the file which contains the result content.
- results - Variable in class uws.job.UWSJob
-
This is a list of all results of this job.
- reverseOrder - Variable in class uws.job.serializer.filter.JobListRefiner
-
Indicate if the jobs of the
JobListRefiner.jobList
list must be returned from
the beginning to the end (
false
) or from the end to the
beginning (
true
).
- rootDirectory - Variable in class uws.service.file.LocalUWSFileManager
-
Directory in which all files managed by this class will be written and read.
- rootLogger - Variable in class uws.service.log.Slf4jUWSLog
-
General purpose logger.
- RotateFileAction - Class in uws.service.file.io
-
This close action rename a given file into another one.
- RotateFileAction(File, File) - Constructor for class uws.service.file.io.RotateFileAction
-
Create the rotate action.
- run() - Method in class uws.job.JobThread
-
Tests the execution phase of the job: if not
EXECUTING
, nothing is done...the thread ends immediately.
Calls the
JobThread.jobWork()
method.
Sets the
finished flag to
true.
Changes the job phase to
COMPLETED
if not interrupted, else
ABORTED
.
- run() - Method in class uws.job.UWSJob.JobTimeOut
-
- run() - Method in interface uws.service.file.io.CloseAction
-
- run() - Method in class uws.service.file.io.RotateFileAction
-
- runningJobs - Variable in class uws.job.manager.AbstractQueuedExecutionManager
-
List of running jobs.
- runningJobs - Variable in class uws.job.manager.DefaultExecutionManager
-
List of running jobs.