Modifier and Type | Class and Description |
---|---|
class |
JobImpl
This object encapsulates all information about a job.
|
Modifier and Type | Method and Description |
---|---|
Job |
JobBuilderImpl.add() |
Job |
JobBuilderImpl.add(List<String> errors) |
Job |
JobManagerImpl.addJob(String topic,
Map<String,Object> properties) |
Job |
JobManagerImpl.addJob(String topic,
String name,
Map<String,Object> properties) |
Job |
JobManagerImpl.addJob(String topic,
String name,
Map<String,Object> properties,
List<String> errors)
Internal method to add a job
|
Job |
JobManagerImpl.getJob(String topic,
Map<String,Object> template) |
Job |
JobManagerImpl.getJobById(String id) |
Job |
JobManagerImpl.getJobByName(String name) |
Job |
JobManagerImpl.retryJobById(String jobId) |
Modifier and Type | Method and Description |
---|---|
Collection<Job> |
JobManagerImpl.findJobs(JobManager.QueryType type,
String topic,
long limit,
Map<String,Object>... templates) |
Modifier and Type | Method and Description |
---|---|
static org.osgi.service.event.Event |
Utility.toEvent(Job job)
Create an event from a job
|
static String |
Utility.toString(Job job)
Improved toString method for a job.
|
Modifier and Type | Method and Description |
---|---|
Job |
JobManagerConfiguration.getJobFromRetryList(String jobId) |
Modifier and Type | Method and Description |
---|---|
List<Job> |
JobManagerConfiguration.clearJobRetryList() |
Modifier and Type | Method and Description |
---|---|
void |
JobManagerConfiguration.addJobToRetryList(Job job) |
boolean |
JobManagerConfiguration.removeJobFromRetryList(Job job) |
Modifier and Type | Method and Description |
---|---|
JobConsumer.JobResult |
WebConsolePlugin.process(Job job) |
Modifier and Type | Method and Description |
---|---|
JobConsumer.JobResult |
EventAdminBridge.process(Job job) |
Modifier and Type | Method and Description |
---|---|
static void |
NotificationUtility.sendNotification(org.osgi.service.event.EventAdmin eventAdmin,
String eventTopic,
Job job,
Long time)
Helper method for sending the notification events.
|
Modifier and Type | Method and Description |
---|---|
JobExecutionResult |
HistoryCleanUpTask.process(Job job,
JobExecutionContext context) |
Modifier and Type | Method and Description |
---|---|
Job |
JobBuilder.add()
Add the job.
|
Job |
JobBuilder.add(List<String> errors)
Add the job.
|
Job |
JobManager.addJob(String topic,
Map<String,Object> properties)
Add a new job
If the topic is
null or illegal, no job is created and null is returned. |
Job |
JobManager.addJob(String topic,
String name,
Map<String,Object> properties)
Deprecated.
|
Job |
JobManager.getJob(String topic,
Map<String,Object> template)
Find a job - either scheduled or active.
|
Job |
JobManager.getJobById(String jobId)
Return a job based on the unique id.
|
Job |
JobManager.getJobByName(String name)
Deprecated.
|
Job |
JobManager.retryJobById(String jobId)
Retry a cancelled job.
|
Modifier and Type | Method and Description |
---|---|
Collection<Job> |
JobManager.findJobs(JobManager.QueryType type,
String topic,
long limit,
Map<String,Object>... templates)
Return all jobs of a given type.
|
Modifier and Type | Method and Description |
---|---|
JobConsumer.JobResult |
JobConsumer.process(Job job)
Execute the job.
|
JobExecutionResult |
JobExecutor.process(Job job,
JobExecutionContext context)
Execute the job.
|
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.