JAMS Developer Guide
Job Class Members
Properties  Methods  Events


MVPSI.JAMS Namespace : Job Class

The following tables list the members exposed by Job.

Public Constructors
 NameDescription
Public ConstructorCreates a new Job.  
Top
Public Properties
 NameDescription
Public PropertyAccess Control List  
Public PropertyGets or sets the Agent for this Job. If this job is run on a remote node, this specifies the name of that node.  
Public PropertyGets the average buffered I/O count for this job.  
Public PropertyGets the number of times that the Job's averages have been updated.  
Public PropertyGets the average Cpu time consumed by this job.  
Public PropertyGets the average direct I/O count for this job.  
Public PropertyGets the average elapsed time for this job.  
Public PropertyGets the average number of page faults incurred by this job.  
Public PropertyGets the average peak working set for this job.  
Public PropertyGets or sets the JAMS Batch Queue that the Job should be submitted to.  
Public PropertyGets and Sets the BatchQueueID that the Job should be submitted to. This property is designed to be used by JAMS, not user code.  
Public PropertyGets or sets the batch queue that this job should be submitted to. This overides the default batch queue that is specified in the job's folder definition.  
Public PropertyGets or sets the default submit date to use when this job is manually submitted.  
Public PropertyGets or sets the default submit time to use when this job is manually submitted.  
Public PropertyGets or sets the description of this Job.  
Public PropertyA collection of elements that apply to this Job  
Public PropertyGets an error message that describes the errors in the object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyJAMS Credential.  
Public PropertyGets or sets the username that this Job should run under. This overrides the username specified in the Job's Folder definition.  
Public PropertyThe 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 PropertyGets or sets the home directory for this Job.  
Public PropertyIs this object in the middle of an edit? (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyReturns any error messages currently associated with this column. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyGets an integer that uniquely identifies this Job definition.  
Public PropertyGets or sets the name of the Job  
Public PropertyGets or sets the KeepLogs property. When set to true, the Job's log file is kept upon completion. If specified, this overrides the default in the Job's Folder definition.  
Public PropertyGets the scripting language used by this Job.  
Public PropertyGets the scheduled date and time that this Job was last automatically submitted for. This is a read-only property, it is updated when JAMS automatically submits the Job.  
Public PropertyGets the scheduled UTC date and time that this Job was last automatically submitted for. This is a read-only property, it is updated when JAMS automatically submits the Job.  
Public PropertyGets the date and time when this Job definition was last changed.  
Public PropertyGets the user who last changed this Job.  
Public PropertyGets the UTC date and time when this Job definition was last changed.  
Public PropertyGets the date and time of the most recent error completion of this Job.  
Public PropertyGets the UTC date and time of the most recent error completion of this Job.  
Public PropertyGets the date and time of the most recent fatal completion of this Job.  
Public PropertyGets the UTC date and time of the most recent fatal completion of this Job.  
Public PropertyGets the date and time of the most recent informational completion of this Job.  
Public PropertyGets the UTC date and time of the most recent informational completion of this Job.  
Public PropertyGets the most recent reset date and time. When a job is reset, all of it's dependencies are reset and they must run again.  
Public PropertyGets the most recent reset UTC date and time. When a job is reset, all of it's dependencies are reset and they must run again.  
Public PropertyGets the date and time of the most recent successful completion of this Job.  
Public PropertyGets the UTC date and time of the most recent successful completion of this Job.  
Public PropertyGets the date and time of the most recent warning completion of this Job.  
Public PropertyGets the UTC date and time of the most recent warning completion of this Job.  
Public PropertyGets the JAMS Server that this Job was loaded from.  
Public PropertyGets or sets the file specification that should be used for this job's log files. The default is the job name with an extention of .LOG.  
Public PropertyGets the maximum buffered I/O count for this job.  
Public PropertyGets the number of times that one or more of the job's maximums has been updated.  
Public PropertyGets the maximum Cpu time consumed by this job.  
Public PropertyGets the the maximum direct I/O count for this job.  
Public PropertyGets the maximum elapsed time for this job.  
Public PropertyGets the maximum number of page faults incurred by this job.  
Public PropertyGets the maximum peak working set for this job.  
Public PropertyGets or Sets the JAMS Submit Method for this Job.  
Public PropertyGets and Sets the Submi tMethod ID for this Job. This property is designed to be used by JAMS, not user code.  
Public PropertyGets the Submit Method Name for this Job.  
Public PropertyGets the minimum buffered I/O count for this job.  
Public PropertyGets the number of times that one or more of the job's minimums has been updated.  
Public PropertyGets the minimum Cpu time consumed by this job.  
Public PropertyGets the minimum direct I/O count for this job.  
Public PropertyGets the minimum elapsed time for this job.  
Public PropertyGets the minimum number of page faults incurred by this job.  
Public PropertyGets the minimum peak working set for this job.  
Public PropertyThe 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 PropertyGets or sets the name of the Job  
Public PropertyThe 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 PropertyGets or sets the list of e-mail addresses, separated by commas. If this Job requires notification, a mail message will be sent to this list of addresses.  
Public PropertyGets the list of Parameters for this Job.  
Public PropertyGets or sets the JAMS Folder that this Job is a member of.  
Public PropertyGets the Folder ID for this Job. This property is designed to be used by JAMS, not user code.  
Public PropertyGets or sets the fully qualified name of the JAMS Folder that this job is a member of.  
Public PropertyA collection of PropertyValues for this Job  
Public PropertyGets the fully qualified name of the folder that contains this job.  
Public PropertyReturn the full qualified name of the job  
Public PropertyGets a list of References to this Job.  
Public PropertyGets or sets the retention policy for this Job. The options are:

Not Specified The retention policy is taken from the Job's Folder definition.
Always (A) Job is always retained until specifically deleted.
Never (N) Never retain job.
Error (E) Job is retained if it completes with a severity of Warning or worse.
Timed (T) Job is retained for the specified time after completion.

 
Public PropertyGets or sets the length of time the Job should be retained when the retain option is set to "Timed".  
Public PropertyGets or sets the number of times to retry the job if it fails.  
Public PropertyGets or sets the delay between automatic retries  
Public PropertyGets a list of Job version.  
Public PropertyGets or sets the execution priority for this job.  
Public PropertyGets or sets the SchedulingPriority property. This number is used to calculate the scheduling priority for this Job. When a Job is submitted by the JAMS submit sub-system, the scheduling priority is calculated by adding together the default scheduling priority, the Folder’s priority modifier and the Job’s priority modifier.  
Public PropertyThe time of day that a job must be completed by to meet a Service Level Agreement  
Public PropertyGets or sets the command procedure.  
Public PropertyA collection of elements that make up the source code for this job  
Public PropertyGets a boolean which indicates if the Source was modified after the Job was Loaded.  
Public PropertyA comma seperated list of specific informational values. Used when the executions method's ExitCodeHandling is set to SpecificValuesGood or SpecificValuesBad. Matching one of these values will result in a final severity of Informational.  
Public PropertyA comma seperated list of specific values. Used when the execution method's ExitCodeHandling is set to SpecificValuesGood or SpecificValuesBad.  
Public PropertyA comma seperated list of specific warning values. Used when the execution method's ExitCodeHandling is set to SpecificValuesGood or SpecificValuesBad. Matching one of these values will result in a final severity of Warning.  
Public PropertyGets or sets the SubmitOnHold property. When submitted, should this job be placed on hold until manually released?  
Public PropertyGets or sets the SuppressMenuDisplay property. You can prevent this job from being displayed on submit menus by setting this property to true.  
Public PropertyThe Tags object manages the tags applied to this Job.  
Public PropertyGets or sets the TimestampLogs property. When the field is true, batch log files be time stamped with an extension of .LOG_yyyymmdd_hhmmsscc.  
Public PropertyThe 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 PropertyGets or sets the default working set for this job. Not currently used.  
Public PropertyGets or sets the maximum working set for this job. Not currently used.  
Public PropertyGets or sets the working set quota for this job. Not currently used.  
Top
Public Methods
 NameDescription
Public MethodStarts an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodCancels an edit of this object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodUpdates the Job after its submit method has been changed. Properties and parameters of the old submit method are replaced by properties of the new submit method with any common values being retained.  
Public Methodstatic (Shared in Visual Basic)Checks a Job against a JAMS Server.  
Public MethodClears the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodOverridden. Clear the modified flag of this Job and all of the attached lists.  
Public MethodClone this Job. Clone always assumes that the new object might be saved on a different JAMS Server so it doesn't copy internal things like IDs.  
Public MethodImplementation of IComparable CompareTo. Compares this instance to the one specified.  
Public MethodOverloaded. Delete the Job definition.  
Public MethodEnds an edit of this object. Any changes are saved. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodChecks for equality.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Test to determine if a given Job exists on the default server.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Returns a collection of jobs matching the given search string.  
Public MethodForces the job and all of the jobs's sub-objects to be marked as modified.  
Public MethodOverloaded. Gets a JobSecurity object that encapsulates the access control list (ACL) entries for the Job described by the current Job object.  
Public MethodGets All Documentation based on inherited folders and job definition.  
Public MethodReturns a hashcode.  
Public MethodInitializes all properties to their default values.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Load a Job definition from the specified JAMS Server.  
Public MethodMove the job to a different folder, removing it from the old location.  
Public MethodReads Job values from XML  
Public MethodResets the Job's Statistics  
Public MethodResets triggers on the job that match the passed name. If the name is null or empty, all of the job's triggers are reset.  
Public MethodSave the Job with a new name and/or server.  
Public MethodApplies access control list (ACL) entries described by a JobSecurity object to the Job described by the current Job object.  
Public MethodSets the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodMarks the object as modified. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodReturns the string equivalent of this Job.  
Public MethodUndo changes. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodOverloaded. Save updates to the JAMS Server  
Public MethodOverloaded. Overridden. Validate all properties.  
Public MethodReads Job values from XML  
Top
Protected Methods
 NameDescription
Protected MethodAttempts to raise the PropertyChanged event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodAttempts to raise the PropertyChanging event (Inherited from MVPSI.JAMS.BasePublicObject)
Protected MethodSaveOriginal 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 EventEvent Handler for Property Changed Event (Inherited from MVPSI.JAMS.BasePublicObject)
Public EventEvent Handler for Property Changing Event (Inherited from MVPSI.JAMS.BasePublicObject)
Top
See Also

Reference

Job Class
MVPSI.JAMS Namespace