Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
AxelSemrau.Chronos.Plugin.StopRunArgs Class Reference

Options for stopping the schedule/queue. More...

Public Types

enum  StopMode { Immediately , NoNewJobs }
 Details how to stop the run. More...
 

Properties

StopMode How [get, set]
 Specify how the run should be stopped.
 
bool RestartRemainingJobs [get, set]
 In case of a soft stop, should the unstarted jobs be scheduled for a later restart?
 
bool StopQueue [get, set]
 Do not start any other schedules after the current one was stopped.
 
string Reason [get, set]
 Optional reason for the stop.
 
bool RunErrorMethod [get, set]
 For immediate stop, try to run the error method first.
 

Detailed Description

Options for stopping the schedule/queue.

Definition at line 300 of file MiscInterfaces.cs.

Member Enumeration Documentation

◆ StopMode

Details how to stop the run.

Enumerator
Immediately 

Stop as soon as possible.

This also means that the queue will be stopped and that remaining samples are not rescheduled.

NoNewJobs 

Do not interrupt jobs that were already started.

Definition at line 305 of file MiscInterfaces.cs.

306 {
318 }
@ NoNewJobs
Do not interrupt jobs that were already started.

Property Documentation

◆ How

StopMode AxelSemrau.Chronos.Plugin.StopRunArgs.How
getset

Specify how the run should be stopped.

Definition at line 323 of file MiscInterfaces.cs.

323{ get; set; }

◆ Reason

string AxelSemrau.Chronos.Plugin.StopRunArgs.Reason
getset

Optional reason for the stop.

Definition at line 335 of file MiscInterfaces.cs.

335{ get; set; }

◆ RestartRemainingJobs

bool AxelSemrau.Chronos.Plugin.StopRunArgs.RestartRemainingJobs
getset

In case of a soft stop, should the unstarted jobs be scheduled for a later restart?

Definition at line 327 of file MiscInterfaces.cs.

327{ get; set; }

◆ RunErrorMethod

bool AxelSemrau.Chronos.Plugin.StopRunArgs.RunErrorMethod
getset

For immediate stop, try to run the error method first.

Definition at line 339 of file MiscInterfaces.cs.

339{ get; set; }

◆ StopQueue

bool AxelSemrau.Chronos.Plugin.StopRunArgs.StopQueue
getset

Do not start any other schedules after the current one was stopped.

Definition at line 331 of file MiscInterfaces.cs.

331{ get; set; }

The documentation for this class was generated from the following file: