Class Condition
- Namespace
- ArcanaDevelopment.adTempus.Client
- Assembly
- ArcanaDevelopment.adTempus.Client.dll
Base class for all Conditions
public abstract class Condition : ADTObject
- Inheritance
-
objectCondition
- Derived
Properties
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.
DescriptionOverride
Description of the condition
public string DescriptionOverride { get; set; }
Property Value
- string
Enabled
Indicates whether the condition is enabled.
public bool Enabled { get; set; }
Property Value
- bool
Name
Optional name for the condition
public string Name { get; set; }
Property Value
- string
PollingInterval
Time to wait between checks of the condition.
public TimeSpan PollingInterval { get; set; }
Property Value
- TimeSpan
Remarks
Set to System.TimeSpan.Zero to use the default polling interval.
StaysTriggered
Determines whether the condition stays triggered (satisfied)
public bool StaysTriggered { get; set; }
Property Value
- bool
Remarks
If true, adTempus stops evaluating the condition for the current instance of the job, even if other conditions remain to be satisfied. If false the condition gets reevaluated each time adTempus evaluates other conditions for the job.
UserInterfaceExtensionData
Additional data stored for the custom user interface
public string UserInterfaceExtensionData { get; set; }
Property Value
- string
UserInterfaceExtensionID
The extension ID of the custom user interface for this object
public string UserInterfaceExtensionID { get; set; }
Property Value
- string
WaitLimit
Time to wait for the condition to be satisfied.
public TimeSpan WaitLimit { get; set; }
Property Value
- TimeSpan
Remarks
Set to NoWait to not wait for the condition to be satisfied, or Infinite to wait until the condition is satisfied or the job is canceled
Methods
FindOwningObject()
Get the owner of this object based on relationships.
protected override ADTObject FindOwningObject()
Returns
- ADTObject
The owning object, or null if the object is not owned by another object or the owner has not been set.
GetConditionDescription()
protected abstract string GetConditionDescription()
Returns
- string
GetObjectDescription()
Gets a description of the object's key settings.
protected override string GetObjectDescription()
Returns
- string
Remarks
This method is called by GetDescription() to get a user-friendly description of the object (such as its key settings) for display to the user. The description should contain enough information to distinguish this object from others of the same class.
WriteToConfigurationReport(IADTObjectConfigurationReportWriter)
Writes the object and any contained objects to a configuration report
public override void WriteToConfigurationReport(IADTObjectConfigurationReportWriter reportBuilder)
Parameters
| Name | Type | Description |
|---|---|---|
reportBuilder |
IADTObjectConfigurationReportWriter | The report builder to write the object to. |
Inherited Members
- ADTObject.EffectivePermissions
- ADTObject.OnNewEntity()
- ADTObject.OnEntityReloaded()
- ADTObject.LastModified
- ADTObject.CreationTimestamp
- ADTObject.FromController
- ADTObject.CustomProperties
- ADTObject.Description
- ADTObject.DescriptionTextType
- ADTObject.OID
- ADTObject.ClassID
- ADTObject.BindingDescription
- ADTObject.ToString()
- ADTObject.ParentObject
- ADTObject.CanPerform(SecurityPermission)
- ADTObject.Duplicate()
- ADTObject.CheckForStub(string, string)
- ADTObject.DataContext
- ADTObject.AccessMask
- ADTObject.InitializeFromEntity()
- ADTObject.Validate(MessageCollection)
- ADTObject.SupportedSecurityActions
- ADTObject.SupportedSecurityInheritanceOptions
- ADTObject.AddStandardSecurityActions(Dictionary<int, string>, string)
- ADTObject.AddSupportedSecurityAction(Dictionary<int, string>, SecurityPermission, string)
- ADTObject.GetTopLevelOwner()
- ADTObject.GetConfigurationReport()
- ADTObject.GetConfigurationReport(bool)
- ADTObject.IsReadOnly
- ADTObject.SerializeCustomProperties()
- ObjectBase.IsDirty
- ObjectBase.IsNew
- ObjectBase.IsStub
- ObjectBase.IsDependent
- ObjectBase.ClassName
- ObjectBase.GetDescriptionWithClassName()
- ObjectBase.GetDescription()
- ObjectBase.HideFieldValueInTextOutput(string)
- ObjectBase.BeginEdit()
- ObjectBase.BeginEdit(UndoLevelAction)
- ObjectBase.CommitEdit(Guid)
- ObjectBase.CommitEdit()
- ObjectBase.UndoEdit()
- ObjectBase.UndoEdit(Guid)