Click or drag to resize

Job class

Concrete job for a job list in a LogicalTaskTree.
Inheritance hierarchy
SystemObject
  LogicalTaskTreeJob
    LogicalTaskTreeUndefinedJob

Namespace: LogicalTaskTree
Assembly: LogicalTaskTree (in LogicalTaskTree.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
public class Job

The Job Type exposes the following members.

Constructors
 NameDescription of the
Public MethodJob Constructor.
Back to the top
Properties
 NameDescription of the
Public PropertyBreakWithResult A job may already have a clear logical result, before all the children have finished their processing. If BreakWithResult=True, these are then cancelled. Does not apply if a job trigger has been set.
Public PropertyCheckers List of external check routines for a jobPackage.Job.
Public PropertyConstantNodeUserControlPath Path to the UserControl to be loaded dynamically for a Constant-SingleNode.
Public PropertyEventTriggers List of internal triggers for a jobPackage.Job.
Public PropertyInitNodes If True, all nodes in the tree are reset when this node is started. Can be used for loops in controlled jobs.
Public PropertyIsDefaultSnapshot True if this snapshot could not be loaded and instead the default snapshot has been loaded.
Public PropertyIsGlobal If true, this node is created as a reference node if anywhere in the tree (not only in the current job) the name of the node has already been found. If false, the system only searches for nodes with the same name in the current job. Default: false.
Public PropertyIsVolatile If True, "Logical" is used to determine the result in the tree, if False "LastNotNullLogical". Default: False
Public PropertyJobConnectorUserControlPath Path to the UserControl to be loaded dynamically for a JobConnector.
Public PropertyJobListUserControlPath Path to the UserControl to be loaded dynamically for a JobList.
Public PropertyJobLogger An optional logger that is assigned to the job is or zero.
Public PropertyJobSnapshotTrigger An optional trigger that controls when a snapshot of the job is created. or zero.
Public PropertyJobTrigger An optional trigger that calls the job repeatedly or null (internally sets BreakWithResult to false).
Public PropertyLockName Optional name used for global locking. Is used if ThreadLocked is set.
Public PropertyLoggers List of external loggers for a jobPackage.Job.
Public PropertyLogicalChangedDelay Delay in milliseconds before a LogicalCanged event is passed on.
Public PropertyLogicalExpression The logical expression that is represented by a JobList in the LogicalTaskTree is processed.
Public PropertyMaxSubJobDepth The greatest hierarchical depth of sub-jobs in this job. If this job has a sub-job, for example, the value is 1. again a sub-job, then 2 etc., otherwise 0.
Public PropertyNodeListUserControlPath Path to the UserControl to be loaded dynamically for a NodeList.
Public PropertySingleNodeUserControlPath Path to the UserControl to be loaded dynamically for a SingleNode.
Public PropertySnapshotNames List of snapshot names for a jobPackage.Job.
Public PropertySnapshotUserControlPath Path to the UserControl to be loaded dynamically for a JobList.
Public PropertyStartCollapsed With True, the job is displayed collapsed at startup if the UI supports this. Default: False
Public PropertyThreadLocked If True, each thread is locked via the class so that non-thread-safe checkers are serialized; Default: False;
Public PropertyTriggeredRunDelay Delays the start of a node (and InitNodes). Can be used for loops in controlled jobs. Default: 0 (milliseconds).
Public PropertyTriggers List of external triggers for a jobPackage.Job.
Public PropertyWhatDefaultSnapshot True, if this snapshot is loaded and previously the default snapshot has been loaded.
Public PropertyWorkers List of external work routines for a jobPackage.Job. If a dictionary with WorkerShell arrays is to be Node-Id + ":" + TreeEvents-String.
Public PropertyWorkersDictionary List of external work routines for a jobPackage.Job.
Back to the top
Fields
 NameDescription of the
Public FieldStatic MemberundefinedJob Static instance for an undefined job. Replaces null to avoid the miserable null warnings when using LogicalNodes and JobLists which it is ensured that at the time of use they are not are not equal to zero, but are not yet instantiated in the constructor in a meaningful way. could be realised. For any subsequent null queries, null must be replaced by this instance. It can then be checked for 'is IUndefinedElement' if necessary.
Back to the top
Remarks
File: jobPackage.Job.cs Author: Erik Nagel 26.01.2012 Erik Nagel: created
See also