Method | Description | |
---|---|---|
FindRunningJobExecutions ( string jobName ) : ISet |
Retrieves running job executions. The corresponding step executions may not be fully hydrated (e.g. their execution context may be missing), depending on the implementation. Use GetStepExecution(Long, Long) to hydrate them in that case.
|
|
GetJobExecution ( long executionId ) : JobExecution |
Retrieves a JobExecution by its id. The complete object graph for this execution should be returned (unless otherwise indicated) including the parent JobInstance and associated ExecutionContext and StepExecution instances (also including their execution contexts).
|
|
GetJobExecutions ( JobInstance jobInstance ) : IList |
Retrieves job executions by their job instance. The corresponding step executions may not be fully hydrated (e.g. their execution context may be missing), depending on the implementation. Use GetStepExecution to hydrate them in that case.
|
|
GetJobInstance ( long instanceId ) : JobInstance |
Gets the JobInstance for the given instance id.
|
|
GetJobInstanceCount ( string jobName ) : int |
Queries the repository for the number of unique JobInstances associated with the supplied job name.
|
|
GetJobInstances ( string jobName, int start, int count ) : IList |
Fetches JobInstance values in descending order of creation (and therefore usually of first execution).
|
|
GetJobNames ( ) : IList |
Queries the repository for all unique JobInstance names (sorted alphabetically).
|
|
GetStepExecution ( long jobExecutionId, long executionId ) : StepExecution |
Retrieves a StepExecution by its id and parent JobExecution id. The execution context for the step should be available in the result, and the parent job execution should have its primitive properties, but may not contain the job instance information.
|
|
SimpleJobExplorer ( IJobInstanceDao jobInstanceDao, IJobExecutionDao jobExecutionDao, IStepExecutionDao stepExecutionDao, IExecutionContextDao executionContextDao ) : Summer.Batch.Core.Repository.Dao |
Constructs a new SimpleJobExplorer with the specified DAOs.
|
Method | Description | |
---|---|---|
GetJobExecutionDependencies ( JobExecution jobExecution ) : void |
Finds all dependencies for a JobExecution, including JobInstance (which requires JobParameters) plus StepExecutions.
|
|
GetStepExecutionDependencies ( StepExecution stepExecution ) : void |
Gets execution dependencies for a given StepExecution.
|
public FindRunningJobExecutions ( string jobName ) : ISet |
||
jobName | string | the name of the job |
return | ISet |
public GetJobExecution ( long executionId ) : JobExecution | ||
executionId | long | the job execution id |
return | JobExecution |
public GetJobExecutions ( JobInstance jobInstance ) : IList |
||
jobInstance | JobInstance | the JobInstance to query |
return | IList |
public GetJobInstance ( long instanceId ) : JobInstance | ||
instanceId | long | the instance id |
return | JobInstance |
public GetJobInstanceCount ( string jobName ) : int | ||
jobName | string | the name of the job to query for |
return | int |
public GetJobInstances ( string jobName, int start, int count ) : IList |
||
jobName | string | the name of the job to query |
start | int | the start index of the instances to return |
count | int | the maximum number of instances to return |
return | IList |
public GetStepExecution ( long jobExecutionId, long executionId ) : StepExecution | ||
jobExecutionId | long | the parent job execution id |
executionId | long | the step execution id |
return | StepExecution |
public SimpleJobExplorer ( IJobInstanceDao jobInstanceDao, IJobExecutionDao jobExecutionDao, IStepExecutionDao stepExecutionDao, IExecutionContextDao executionContextDao ) : Summer.Batch.Core.Repository.Dao | ||
jobInstanceDao | IJobInstanceDao | The job instance DAO. |
jobExecutionDao | IJobExecutionDao | The job execution DAO. |
stepExecutionDao | IStepExecutionDao | The step execution DAO. |
executionContextDao | IExecutionContextDao | The execution context DAO. |
return | Summer.Batch.Core.Repository.Dao |