JAMS 6.x Help
CurDependencyJob Class Members
Properties  Methods  Events


The following tables list the members exposed by CurDependencyJob.

Public Constructors
 NameDescription
Public ConstructorCurDependencyJob ConstructorCreates a new CurDependencyJob.  
Top
Public Properties
 NameDescription
Public PropertyCompletionSeverityGets 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.CurDependency)
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)
  • Completion of a Job currently in the Schedule (Entry)
(Inherited from MVPSI.JAMS.CurDependency)
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. (Inherited from MVPSI.JAMS.CurDependency)
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 PropertyItemReturns any error messages currently associated with this column. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyJobGets the Depends on Job property. The DependencyType must be DependencyType.Job.  
Public PropertyJobNameGets the "Depends on Job" Job Name.  
Public PropertyLoadedFromGets the JAMS server where this CurDependency is stored. (Inherited from MVPSI.JAMS.CurDependency)
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 PropertyRunSinceMust have run since this date/time  
Public PropertyRunSinceUTCMust have run since this UTC date/time  
Public PropertySinceIDGets the ID of the since job. This property is designed to be use by JAMS, not user code.  
Public PropertySinceJobGets the Since Job.  
Public PropertySinceJobNameGets the name of the Since job.  
Public PropertySinceSeverityGets 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 PropertyStateGets the current State of this Dependency. States are: Ok, Waiting, and Not Checked. (Inherited from MVPSI.JAMS.CurDependency)
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 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 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 MethodCompareToImplementation of IComparable. Compares this instance to the one specified. (Inherited from MVPSI.JAMS.CurDependency)
Public MethodEndEditEnds an edit of this object. Any changes are saved. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodInitializeOverridden. Initialize to 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 Current Job Dependency.  
Public MethodUndoEditsOverridden. This method is defined in the base class. With respect to Current Dependencies - updates are not supported.  
Public MethodUpdateThis method is defined in the base class. With respect to Current Dependencies - updates are not supported. (Inherited from MVPSI.JAMS.CurDependency)
Public MethodValidateThe Validate method is a virtual method used to validate the object. The default implantation does no validation it simply marks the object as valid. (Inherited from MVPSI.JAMS.BasePublicObject)
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 MethodSaveOriginalSaveOriginal is called when an edit is about to begin. You override this method to save the original values. (Inherited from MVPSI.JAMS.BasePublicObject)
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

CurDependencyJob Class
MVPSI.JAMS Namespace

Send Feedback