NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Common.Process.ScheduledJob Class Reference

A job which have been scheduled for execution. More...

Public Member Functions

 ScheduledJob (Job job, DateTime run)
 Initializes a new instance of the ScheduledJob class. More...
 
override string ToString ()
 Returns a string that represents the current ScheduledJob. More...
 

Properties

Job Job [get]
 Gets the job to execute. More...
 
DateTime Run [get]
 Gets the time of planned execution. More...
 

Detailed Description

A job which have been scheduled for execution.

Definition at line 29 of file ScheduledJob.cs.

Constructor & Destructor Documentation

Ntp.Common.Process.ScheduledJob.ScheduledJob ( Job  job,
DateTime  run 
)
inline

Initializes a new instance of the ScheduledJob class.

Parameters
jobJob.
runRun.

Definition at line 36 of file ScheduledJob.cs.

37  {
38  Job = job;
39  Run = run;
40  }
DateTime Run
Gets the time of planned execution.
Definition: ScheduledJob.cs:52
Job Job
Gets the job to execute.
Definition: ScheduledJob.cs:46

Member Function Documentation

override string Ntp.Common.Process.ScheduledJob.ToString ( )
inline

Returns a string that represents the current ScheduledJob.

Returns
A string that represents the current ScheduledJob.

Definition at line 58 of file ScheduledJob.cs.

59  {
60  return $"{Job} scheduled to run {Run.ToString("HH:mm:ss")}";
61  }

Property Documentation

Job Ntp.Common.Process.ScheduledJob.Job
get
DateTime Ntp.Common.Process.ScheduledJob.Run
get

Gets the time of planned execution.

The run.

Definition at line 52 of file ScheduledJob.cs.

Referenced by Ntp.Common.Process.Scheduler.RunOneCycle(), and Ntp.Analyzer.Monitor.Server.Billboard.Schedule().


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