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

If you can calculate your runtime, you should implement this interface. More...

+ Inheritance diagram for AxelSemrau.Chronos.Plugin.IGiveARuntimeHint:
+ Collaboration diagram for AxelSemrau.Chronos.Plugin.IGiveARuntimeHint:

Properties

int? CalculatedRuntime [get]
 Get an idea of the expected runtime.
 

Additional Inherited Members

- Public Member Functions inherited from AxelSemrau.Chronos.Plugin.ITask
void PreValidate ()
 Called before the schedule construction is completed.
 
void PostValidate ()
 Called after the schedule construction is completed.
 
void Execute ()
 Do whatever you have to do with your parameters.
 
string GetTaskAction ()
 Description of the tasks's action (for hints/time table)
 

Detailed Description

If you can calculate your runtime, you should implement this interface.

This is only used in the pre-calculation validation phase.

Definition at line 526 of file TaskInterfaces.cs.

Property Documentation

◆ CalculatedRuntime

int? AxelSemrau.Chronos.Plugin.IGiveARuntimeHint.CalculatedRuntime
get

Get an idea of the expected runtime.

Returns
If you can calculate it, return the runtime in seconds. If you can't, return null. The value from the method editor will be used in this case.

Implemented in MockPlugin.Tasks.BrewFrappuccino.

Definition at line 535 of file TaskInterfaces.cs.

535{ get; }

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