C# Class Summer.Batch.Core.Launch.Support.SimpleJobOperator

Simple implementation of the IJobOperator interface. Due to the amount of functionality the implementation is combining, the following dependencies are required:
  • IJobLauncher
  • IJobExplorer
  • IJobRepository
  • IJobRegistry
Inheritance: IJobOperator, IInitializationPostOperations
Show file Open project: SummerBatch/SummerBatch

Public Methods

Method Description
Abandon ( long jobExecutionId ) : JobExecution

@see IJobOperator#Abandon .

AfterPropertiesSet ( ) : void

post-init checks. IInitializationPostOperations#AfterPropertiesSet

GetExecutions ( long instanceId ) : IList

@see IJobOperator#GetExecutions .

GetJobInstances ( string jobName, int start, int count ) : IList

@see IJobOperator#GetJobInstances .

GetJobNames ( ) : ISet

@see IJobOperator#GetJobNames .

GetParameters ( long executionId ) : string

@see IJobOperator#GetParameters .

GetRunningExecutions ( string jobName ) : ICollection

@see IJobOperator#GetRunningExecutions .

GetStepExecutionSummaries ( long executionId ) : string>.IDictionary

@see IJobOperator#GetStepExecutionSummaries .

GetSummary ( long executionId ) : string

@see IJobOperator#GetSummary .

Restart ( long executionId ) : long?

@see IJobOperator#Restart .

Start ( string jobName, string parameters ) : long?

@see IJobOperator#Start .

StartNextInstance ( string jobName ) : long?

@see IJobOperator#StartNextInstance .

Stop ( long executionId ) : bool

@see IJobOperator#Stop .

Private Methods

Method Description
FindExecutionById ( long executionId ) : JobExecution

find JobExecution given its id

Method Details

Abandon() public method

@see IJobOperator#Abandon .
public Abandon ( long jobExecutionId ) : JobExecution
jobExecutionId long
return JobExecution

AfterPropertiesSet() public method

post-init checks. IInitializationPostOperations#AfterPropertiesSet
 
public AfterPropertiesSet ( ) : void
return void

GetExecutions() public method

@see IJobOperator#GetExecutions .
 
public GetExecutions ( long instanceId ) : IList
instanceId long
return IList

GetJobInstances() public method

@see IJobOperator#GetJobInstances .
 
public GetJobInstances ( string jobName, int start, int count ) : IList
jobName string
start int
count int
return IList

GetJobNames() public method

@see IJobOperator#GetJobNames .
public GetJobNames ( ) : ISet
return ISet

GetParameters() public method

@see IJobOperator#GetParameters .
 
public GetParameters ( long executionId ) : string
executionId long
return string

GetRunningExecutions() public method

@see IJobOperator#GetRunningExecutions .
 
public GetRunningExecutions ( string jobName ) : ICollection
jobName string
return ICollection

GetStepExecutionSummaries() public method

@see IJobOperator#GetStepExecutionSummaries .
 
public GetStepExecutionSummaries ( long executionId ) : string>.IDictionary
executionId long
return string>.IDictionary

GetSummary() public method

@see IJobOperator#GetSummary .
 
public GetSummary ( long executionId ) : string
executionId long
return string

Restart() public method

@see IJobOperator#Restart .
         
public Restart ( long executionId ) : long?
executionId long
return long?

Start() public method

@see IJobOperator#Start .
     
public Start ( string jobName, string parameters ) : long?
jobName string
parameters string
return long?

StartNextInstance() public method

@see IJobOperator#StartNextInstance .
       
public StartNextInstance ( string jobName ) : long?
jobName string
return long?

Stop() public method

@see IJobOperator#Stop .
   
public Stop ( long executionId ) : bool
executionId long
return bool