JAMS 6.x Help
DependencyFile Class Members
Properties  Methods  Events


The following tables list the members exposed by DependencyFile.

Public Constructors
 NameDescription
Public ConstructorDependencyFile ConstructorCreates a new DependencyFile.  
Top
Public Properties
 NameDescription
Public PropertyAgentNodeGets or Sets the nodename of the JAMS Agent that should look for the file. The default is to look for the file from the JAMS Scheduler node.  
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 PropertyFileNameGets or Sets the name of the file  
Public PropertyFilePresenceGets or Sets the Comparision Condition property. This is the boolean operator used to define how the comparison will be performed.  
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 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 PropertyMinimumSizeGets or Sets the Comparison property. This is the value that the Variable will be compared to. This field is not used when the Condition code is "Changes".  
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 PropertyUserIDGets or Sets the username which should be used to check for the file.  
Public PropertyUserNameGets or Sets the username which should be used to check for the file.  
Public PropertyUserSecurityGets or Sets the username which should be used to check for the file.  
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)
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 DependencyFile  
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. Initialize this DependencyFile to its 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 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

DependencyFile Class
MVPSI.JAMS Namespace

Send Feedback