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

An implementation of IExitCodeMapper that can be configured through a dictioanry from batch exit codes (string) to integer results. Some default entries are set up to recognise common cases. Any that are injected are added to these. More...

Inheritance diagram for Summer.Batch.Core.Launch.Support.SimpleVmExitCodeMapper:
Summer.Batch.Core.Launch.Support.IExitCodeMapper

Public Member Functions

 SimpleVmExitCodeMapper ()
 Default constructor. More...
 
int IntValue (string exitCode)
 Gets the operating system exit status that matches a certain Batch Framework exit code. More...
 

Properties

Dictionary< string, int > Mapping [get, set]
 Mapping property. More...
 

Detailed Description

An implementation of IExitCodeMapper that can be configured through a dictioanry from batch exit codes (string) to integer results. Some default entries are set up to recognise common cases. Any that are injected are added to these.

Constructor & Destructor Documentation

Summer.Batch.Core.Launch.Support.SimpleVmExitCodeMapper.SimpleVmExitCodeMapper ( )

Default constructor.

Member Function Documentation

int Summer.Batch.Core.Launch.Support.SimpleVmExitCodeMapper.IntValue ( string  exitCode)

Gets the operating system exit status that matches a certain Batch Framework exit code.

Parameters
exitCodeThe exit code of the Batch Job as known by the Batch Framework
Returns
The exitCode of the Batch Job as known by the VM

Implements Summer.Batch.Core.Launch.Support.IExitCodeMapper.

Property Documentation

Dictionary<string, int> Summer.Batch.Core.Launch.Support.SimpleVmExitCodeMapper.Mapping
getset

Mapping property.


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