JAMS 6.x Help
DependencyJob Class Members
Properties  Methods  Events


The following tables list the members exposed by DependencyJob.

Public Constructors
 NameDescription
Public ConstructorDependencyJob ConstructorCreates a new DependencyJob.  
Top
Public Properties
 NameDescription
Public PropertyCompletionSeverityGets or Sets the Completion Severity. The "Depends on Job" must complete with a severity level which is equal to or better than this severity.  
Public PropertyDependencyNameGets this Dependency Name. The dependency name is either the JobName or VariableName depending upon the DependencyType. (Inherited from MVPSI.JAMS.Dependency)
Public PropertyDependencyTypeGets this Dependency Type. The three types of dependencies are:
  • Completion of a Local Job (Job)
  • Completion of a Remote Job (Network)
  • Value of a JAMS Variable (Variable)
(Inherited from MVPSI.JAMS.Dependency)
Public PropertyDependIDGets the DependID property. The value returned is the ID of a JAMS Job or Variable. Use the DependencyType to determine if this value is a Job or Variable ID. This value is Set using the DependsOnJob or DependsOnVariable properties. (Inherited from MVPSI.JAMS.Dependency)
Public PropertyDescriptionOverridden. Generate and return a description of this dependency  
Public PropertyErrorGets an error message that describes the errors in the object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyHasErrorsThe HasErrors property can be used to determine if the object has any errors. If the object needs to be validated, it is done before returning. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyInEditIs this object in the middle of an edit? (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyIsRelativeGets or Sets the "Is Relative" property. If set to true, it means JobName is a relative path. Otherwise, JobName is an absolute path.  
Public PropertyItemReturns any error messages currently associated with this column. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyJobGets or Sets the Depends on Job property. The DependencyType must be DependencyType.Job.  
Public PropertyJobNameGets or Sets the "Depends on Job" Job Name.  
Public PropertyLastChangeGets the date and time that this Dependency was last changed. (Inherited from MVPSI.JAMS.Dependency)
Public PropertyLastChangeUTCGets the UTC date and time that this Dependency was last changed. (Inherited from MVPSI.JAMS.Dependency)
Public PropertyLoadedFromGets the JAMS server where this Dependency is stored. (Inherited from MVPSI.JAMS.Dependency)
Public PropertyModifiedThe Modified property keeps track of modified state of this object. You cannot set the Modified property. If you modify the object, the modified property will be true until you end or cancel the update. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyNewObjectThe NewObject property indicates that this object has just been created and has never been saved on a JAMS Server. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyParentListGets the list that this object is contained in. (Inherited from MVPSI.JAMS.Dependency)
Public PropertySinceIDGets or sets the ID of the since job. This property is designed to be use by JAMS, not user code.  
Public PropertySinceIsRelativeGets or Sets the "Is Relative" property. If set to true, it means SinceJobName is a relative path. Otherwise, SinceJobName is an absolute path.  
Public PropertySinceJobGets or Sets the Since Job.  
Public PropertySinceJobNameGets or Sets the name of the Since job.  
Public PropertySinceSeverityGets or Sets the Since Job Completion Severity. When evaluating the last time that the "Since Job" completed, JAMS requires that the Job completed with a severity which is equal to or better than the severity set here.  
Public PropertySinceTypeWhat kind of job is the Since Job?  
Public PropertyValidatedThe Validated property keeps track of the validation state of this object. If the object has been modified, Validated will be false until the object has been successfully validated by the Validate method. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyWaitIfQueuedGets or Sets the Wait If Queued property. If set to true, when the Job is ready to run, JAMS will look to see if the "Depends on Job" Job is scheduled or executing. If one or more of the "Depends on Job" Jobs are found, the current Job will remain in a pending state until all occurrences of of the "Depends on Job" have completed.  
Public PropertyWithinTimeGets or Sets the Time Range for this Dependency. Time Range Dependencies are usually less restrictive than a normal Dependency.

This is an optional property. If left unassigned, and the the Since Job is unassigned as well, then whenever the current Job is submitted, it will be in a wait state until the dependent Job completes with a satisfactory status.

 
Top
Public Methods
 NameDescription
Public MethodBeginEditStarts an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodCancelEditCancels an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodClearErrorClears the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodClearModifiedClearModified is designed to be used internally and should not be called from end-user code. Call Update() which saves the modifications and then calls ClearModified. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodCloneOverridden. Creates a copy of this DependencyJob  
Public MethodCompareToImplementation of IComparable CompareTo. Compares this instance to the one specified. (Inherited from MVPSI.JAMS.Dependency)
Public MethodEndEditEnds an edit of this object. Any changes are saved. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodInitializeOverridden. Initializes DependencyJob properties to their default values.  
Public MethodSetErrorSets the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodSetModifiedMarks the object as modified. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodToStringReturns a string representation of this Job Dependency.  
Public MethodUndoEditsOverridden. Undo changes that have not been saved to the database.  
Public MethodUpdateOverridden. Save pending updates.  
Public MethodValidateOverloaded. Overridden. Validate all properties.  
Top
Protected Methods
 NameDescription
Protected MethodRaisePropertyChangedAttempts to raise the PropertyChanged event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodRaisePropertyChangingAttempts to raise the PropertyChanging event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodSaveOriginalOverridden. Save the original values incase we have to Undo.  
Top
Public Events
 NameDescription
Public EventPropertyChangedEvent Handler for Property Changed Event (Inherited from MVPSI.JAMS.BasePublicObject)
Public EventPropertyChangingEvent Handler for Property Changing Event (Inherited from MVPSI.JAMS.BasePublicObject)
Top
See Also

Reference

DependencyJob Class
MVPSI.JAMS Namespace

Send Feedback