Summer.Batch.Core.Launch.Support.SimpleJobOperator Class Reference

Simple implementation of the IJobOperator interface. Due to the amount of functionality the implementation is combining, the following dependencies are required: More...

Inheritance diagram for Summer.Batch.Core.Launch.Support.SimpleJobOperator:
Summer.Batch.Core.Launch.IJobOperator Summer.Batch.Common.Factory.IInitializationPostOperations

Public Member Functions

void AfterPropertiesSet ()
 post-init checks. IInitializationPostOperations::AfterPropertiesSet More...
 
IList< long?> GetExecutions (long instanceId)
 
ISet< string > GetJobNames ()
 
IList< long?> GetJobInstances (string jobName, int start, int count)
 
string GetParameters (long executionId)
 
ICollection< long?> GetRunningExecutions (string jobName)
 
IDictionary< long?, string > GetStepExecutionSummaries (long executionId)
 
string GetSummary (long executionId)
 
long Restart (long executionId)
 
long Start (string jobName, string parameters)
 
long StartNextInstance (string jobName)
 
bool Stop (long executionId)
 
JobExecution Abandon (long jobExecutionId)
 

Properties

IListableJobLocator JobRegistry [get, set]
 Job registry property. More...
 
IJobExplorer JobExplorer [get, set]
 Job explorer property. More...
 
IJobLauncher JobLauncher [get, set]
 Job launcher property. More...
 
IJobRepository JobRepository [get, set]
 Job repository property. More...
 
IJobParametersConverter JobParametersConverter [set]
 Job parameters converter property. More...
 

Detailed Description

Simple implementation of the IJobOperator interface. Due to the amount of functionality the implementation is combining, the following dependencies are required:

Member Function Documentation

JobExecution Summer.Batch.Core.Launch.Support.SimpleJobOperator.Abandon ( long  jobExecutionId)

See also
IJobOperator::Abandon .
Parameters
jobExecutionId
Returns

Implements Summer.Batch.Core.Launch.IJobOperator.

void Summer.Batch.Core.Launch.Support.SimpleJobOperator.AfterPropertiesSet ( )

post-init checks. IInitializationPostOperations::AfterPropertiesSet

Exceptions
Exception 

Implements Summer.Batch.Common.Factory.IInitializationPostOperations.

IList<long?> Summer.Batch.Core.Launch.Support.SimpleJobOperator.GetExecutions ( long  instanceId)

See also
IJobOperator::GetExecutions .
Parameters
instanceId
Returns
Exceptions
NoSuchJobInstanceException 

Implements Summer.Batch.Core.Launch.IJobOperator.

IList<long?> Summer.Batch.Core.Launch.Support.SimpleJobOperator.GetJobInstances ( string  jobName,
int  start,
int  count 
)

See also
IJobOperator::GetJobInstances .
Parameters
jobName
start
count
Returns
Exceptions
NoSuchJobExecutionException 

Implements Summer.Batch.Core.Launch.IJobOperator.

ISet<string> Summer.Batch.Core.Launch.Support.SimpleJobOperator.GetJobNames ( )
string Summer.Batch.Core.Launch.Support.SimpleJobOperator.GetParameters ( long  executionId)

See also
IJobOperator::GetParameters .
Parameters
executionId
Returns
Exceptions
NoSuchJobExecutionException 

Implements Summer.Batch.Core.Launch.IJobOperator.

ICollection<long?> Summer.Batch.Core.Launch.Support.SimpleJobOperator.GetRunningExecutions ( string  jobName)

See also
IJobOperator::GetRunningExecutions .
Parameters
jobName
Returns
Exceptions
NoSuchJobException 

Implements Summer.Batch.Core.Launch.IJobOperator.

IDictionary<long?, string> Summer.Batch.Core.Launch.Support.SimpleJobOperator.GetStepExecutionSummaries ( long  executionId)

See also
IJobOperator::GetStepExecutionSummaries .
Parameters
executionId
Returns
Exceptions
NoSuchJobExecutionException 

Implements Summer.Batch.Core.Launch.IJobOperator.

string Summer.Batch.Core.Launch.Support.SimpleJobOperator.GetSummary ( long  executionId)

See also
IJobOperator::GetSummary .
Parameters
executionId
Returns
Exceptions
NoSuchJobExecutionException 

Implements Summer.Batch.Core.Launch.IJobOperator.

long Summer.Batch.Core.Launch.Support.SimpleJobOperator.Restart ( long  executionId)

See also
IJobOperator::Restart .
Parameters
executionId
Returns
Exceptions
JobInstanceAlreadyCompleteException 
NoSuchJobExecutionException 
NoSuchJobException 
JobRestartException 
JobParametersInvalidException 

Implements Summer.Batch.Core.Launch.IJobOperator.

long Summer.Batch.Core.Launch.Support.SimpleJobOperator.Start ( string  jobName,
string  parameters 
)
long Summer.Batch.Core.Launch.Support.SimpleJobOperator.StartNextInstance ( string  jobName)
bool Summer.Batch.Core.Launch.Support.SimpleJobOperator.Stop ( long  executionId)

See also
IJobOperator::Stop .
Parameters
executionId
Returns
Exceptions
NoSuchJobException 
JobExecutionNotRunningException 

Implements Summer.Batch.Core.Launch.IJobOperator.

Property Documentation

IJobExplorer Summer.Batch.Core.Launch.Support.SimpleJobOperator.JobExplorer
getset

Job explorer property.

IJobLauncher Summer.Batch.Core.Launch.Support.SimpleJobOperator.JobLauncher
getset

Job launcher property.

IJobParametersConverter Summer.Batch.Core.Launch.Support.SimpleJobOperator.JobParametersConverter
set

Job parameters converter property.

IListableJobLocator Summer.Batch.Core.Launch.Support.SimpleJobOperator.JobRegistry
getset

Job registry property.

IJobRepository Summer.Batch.Core.Launch.Support.SimpleJobOperator.JobRepository
getset

Job repository property.


The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Launch/Support/SimpleJobOperator.cs