All Classes Namespaces Functions Properties Pages
Public Member Functions | Properties | List of all members
JobHistory Class Reference

Contains the job history information. More...

Public Member Functions

 JobHistory ()
 Initializes a new instance of the JobHistory class. More...
 
 JobHistory (Node node)
 Initializes a new instance of the JobHistory class. More...
 
 JobHistory (JobNodeIdentity jobNodeIdentity, ProcessIdentity processIdentity, short status, ResourceIdentity resourceIdentity)
 Initializes a new instance of the JobHistory class. More...
 

Properties

ActivityType ActivityType [get, set]
 Gets or sets the type of the activity. More...
 
double Cost [get, set]
 Gets or sets the total cost incurred in completion of the Job. More...
 
DateTime DateTimeOccurred [get, set]
 Gets or sets the date time occured. More...
 
DateTime DueDate [get, set]
 Gets or sets the date and time for which the activity is due. More...
 
double ExpectedCost [get, set]
 Gets or sets the expected cost for completion of the Job. More...
 
TimePeriod ExpectedDuration [get, set]
 Gets or sets the expected time in seconds for completion of the Job. More...
 
JobNodeIdentity Node [get, set]
 Gets or sets the Node Id of the activity. More...
 
NodeType NodeType [get, set]
 Gets or sets the Node type of the activity. More...
 
bool Overrun [get, set]
 Gets or sets a value indicating whether or not an activity is overrun. More...
 
ResourceIdentity PerformingResource [get, set]
 Gets or sets the performing resource. More...
 
ProcessIdentity Process [get, set]
 Gets or sets the process details. More...
 
string StartedSubJobId [get, set]
 Gets or sets the identifier of the Sub Job that was started at this activity. More...
 
JobHistoryStatus Status [get, set]
 Gets or sets the status of the activity.

EnumerationDescription
0Bypassed
1Performed
2Cancelled
3Job Complete
4Job Terminated
5Activity Ready For Evaluation
6Restart At
7Restart After
8Advanced Workflow Rules Satisfied
9New Sub Job
10Job State Changed
11Saved
12Suspended
More...
 
string SubJobId [get, set]
 Gets or sets the sub job id. More...
 
TimePeriod TimePending [get, set]
 Gets or sets the total time pending in seconds. More...
 
TimePeriod TimeSpent [get, set]
 Gets or sets the total time spent in seconds, in completing the Job. More...
 
TimePeriod WorkingTimePending [get, set]
 Gets or sets the total working time pending in seconds. More...
 
TimePeriod WorkingTimeSpent [get, set]
 Gets or sets the total working time spent in seconds, in completing the Job. More...
 

Description

Contains the job history information.

Constructor & Destructor Documentation

Initializes a new instance of the JobHistory class.

JobHistory ( Node  node)

Initializes a new instance of the JobHistory class.

Parameters
nodeThe node.
JobHistory ( JobNodeIdentity  jobNodeIdentity,
ProcessIdentity  processIdentity,
short  status,
ResourceIdentity  resourceIdentity 
)

Initializes a new instance of the JobHistory class.

Parameters
jobNodeIdentityThe job node identity.
processIdentityThe process identity.
statusThe status.
resourceIdentityThe resource identity.

Property Documentation

Gets or sets the type of the activity.

double Cost
getset

Gets or sets the total cost incurred in completion of the Job.

DateTime DateTimeOccurred
getset

Gets or sets the date time occured.

DateTime DueDate
getset

Gets or sets the date and time for which the activity is due.

double ExpectedCost
getset

Gets or sets the expected cost for completion of the Job.

TimePeriod ExpectedDuration
getset

Gets or sets the expected time in seconds for completion of the Job.

JobNodeIdentity Node
getset

Gets or sets the Node Id of the activity.

NodeType NodeType
getset

Gets or sets the Node type of the activity.

bool Overrun
getset

Gets or sets a value indicating whether or not an activity is overrun.

ResourceIdentity PerformingResource
getset

Gets or sets the performing resource.

ProcessIdentity Process
getset

Gets or sets the process details.

string StartedSubJobId
getset

Gets or sets the identifier of the Sub Job that was started at this activity.

JobHistoryStatus Status
getset

Gets or sets the status of the activity.

EnumerationDescription
0Bypassed
1Performed
2Cancelled
3Job Complete
4Job Terminated
5Activity Ready For Evaluation
6Restart At
7Restart After
8Advanced Workflow Rules Satisfied
9New Sub Job
10Job State Changed
11Saved
12Suspended

string SubJobId
getset

Gets or sets the sub job id.

TimePeriod TimePending
getset

Gets or sets the total time pending in seconds.

TimePeriod TimeSpent
getset

Gets or sets the total time spent in seconds, in completing the Job.

TimePeriod WorkingTimePending
getset

Gets or sets the total working time pending in seconds.

TimePeriod WorkingTimeSpent
getset

Gets or sets the total working time spent in seconds, in completing the Job.