Table of Contents

Class JobTrigger

Namespace
ArcanaDevelopment.adTempus.Client
Assembly
ArcanaDevelopment.adTempus.Client.dll

A trigger that starts jobs based on the execution status of other jobs.

[ComVisible(true)]
[Guid("79BEF133-62AD-4A3C-B6D5-ABACD5AB40C4")]
public sealed class JobTrigger : Trigger, ISupportJobVariables
Inheritance
object
JobTrigger
Implements

Properties

ClassID

The Class ID for the object

[IgnoreDataMember]
public override ClassID ClassID { get; }

Property Value

ClassID

ClassKeyName

The key name for the class.

public override string ClassKeyName { get; }

Property Value

string

Remarks

This name the name used by adTempus to identify the class and is intended for programmatic use only. Use the ClassName for a user-friendly name.

IsDependent

Indicates whether the object is a dependent of (owned by) another object

[IgnoreDataMember]
public override bool IsDependent { get; }

Property Value

bool

Remarks

An independent object (IsDependent is false) is an object that can exist on its own without being part of another object. For example, Jobs, Job Groups, etc.

A dependent object (IsDependent is true) is a part of another object. For example, a JobStep cannot exist independently of a Job, so the JobStep is dependent.

Dependent objects cannot be directly fetched from the server: they are only fetched as part of the object they belong to. They also cannot be saved or deleted independently: they are automatically saved or deleted when the owning object is saved or deleted.

Targets

The targets for this trigger.

public JobTriggerTargetCollection Targets { get; }

Property Value

JobTriggerTargetCollection

TriggerDelay

Delays execution of the job by the specified time

public TimeSpan TriggerDelay { get; set; }

Property Value

TimeSpan

Remarks

When TriggerDelay is set, the job is queued with a status of "Waiting for delay" with the ScheduledStart set to the delayed start time. The Console will show the delayed start time as the "Execution Start" time for the queued instance.

TriggerOptions

Options for this trigger.

public JobTriggerOptions TriggerOptions { get; set; }

Property Value

JobTriggerOptions

Methods

GetTriggerDescription()

protected override string GetTriggerDescription()

Returns

string

WriteToConfigurationReport(IADTObjectConfigurationReportWriter)

Writes the object and any contained objects to a configuration report

public override void WriteToConfigurationReport(IADTObjectConfigurationReportWriter reportBuilder)

Parameters

NameTypeDescription
reportBuilder IADTObjectConfigurationReportWriter

The report builder to write the object to.

Inherited Members