Interface QueuesServiceLocal
public interface QueuesServiceLocal
Local interface for the Queues service from the Planner API
-
Method Summary
Modifier and TypeMethodDescriptionchangeServerJobPriority(String id, int priority) Change the server job priority in the queuedeleteFromQueue(String id, boolean throwTechnicalErrorForWorkflowJob) Deletes the server job at the specified ID from the queueReturns queue at the specified IDgetQueues(QueuesFilter filter) Returns queues fulfilling the search criteria
-
Method Details
-
getQueue
Returns queue at the specified ID- Parameters:
id- queue ID- Returns:
- queue
- Throws:
PubServerException- See Also:
-
getQueues
Returns queues fulfilling the search criteria- Parameters:
filter- search criteria in QueuesFilter object- Returns:
- List of queues
- Throws:
PubServerException- See Also:
-
deleteFromQueue
String deleteFromQueue(String id, boolean throwTechnicalErrorForWorkflowJob) throws PubServerException Deletes the server job at the specified ID from the queue- Parameters:
id- queue IDthrowTechnicalErrorForWorkflowJob- If true TechnicalErrorForWorkflowJob is thrown. In the majority of cases it should be set on true.- Returns:
- queue ID
- Throws:
PubServerException
-
changeServerJobPriority
Change the server job priority in the queue- Parameters:
id- unique server namepriority-- Returns:
- unique server name
- Throws:
PubServerException
-