Interface | osid.resourcing.rules.JobProcessorQuery | ||
---|---|---|---|
Implements | osid.OsidProcessorQuery | ||
Description |
This is the query for searching job processors. Each method
match specifies an | ||
Method | matchRuledJobId | ||
Description |
Matches mapped to the job. | ||
Parameters | osid.id.Id | foundryId | the job Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | foundryId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearRuledJobIdTerms | ||
Description |
Clears the job | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsRuledJobQuery | ||
Description |
Tests if an | ||
Return | boolean | true if a job query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getRuledJobQuery | ||
Description |
Gets the query for a job. Multiple retrievals produce a
nested | ||
Return | osid.resourcing.JobQuery | the job query | |
Errors | UNIMPLEMENTED | supportsRuledJobQuery() is false | |
Compliance | optional | This method must be implemented if supportsRuledJobQuery()
is true. | |
Method | matchAnyRuledJob | ||
Description |
Matches mapped to any job. | ||
Parameters | boolean | match | true for mapped to any job, false to match
mapped to no job |
Compliance | mandatory | This method must be implemented. | |
Method | clearRuledJobTerms | ||
Description |
Clears the job query terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | matchFoundryId | ||
Description |
Matches mapped to the foundry. | ||
Parameters | osid.id.Id | foundryId | the foundry Id |
boolean | match | true for a positive match, false for a
negative match | |
Errors | NULL_ARGUMENT | foundryId is null | |
Compliance | mandatory | This method must be implemented. | |
Method | clearFoundryIdTerms | ||
Description |
Clears the foundry | ||
Compliance | mandatory | This method must be implemented. | |
Method | supportsFoundryQuery | ||
Description |
Tests if a | ||
Return | boolean | true if a foundry query is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getFoundryQuery | ||
Description |
Gets the query for a foundry. Multiple retrievals
produce a nested | ||
Return | osid.resourcing.FoundryQuery | the foundry query | |
Errors | UNIMPLEMENTED | supportsFoundryQuery() is false | |
Compliance | optional | This method must be implemented if supportsFoundryQuery() is
true. | |
Method | clearFoundryTerms | ||
Description |
Clears the foundry query terms. | ||
Compliance | mandatory | This method must be implemented. | |
Method | getJobProcessorQueryRecord | ||
Description |
Gets the job processor query record corresponding to
the given | ||
Parameters | osid.type.Type | jobProcessorRecordType | a job processor record type |
Return | osid.resourcing.rules.records.JobProcessorQueryRecord | the job processor query record | |
Errors | NULL_ARGUMENT | jobProcessorRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(jobProcessorRecordType) is false
| ||
Compliance | mandatory | This method must be implemented. |