JAMS 6.x Help
Setup Class Members
Properties  Methods  Events


The following tables list the members exposed by Setup.

Public Constructors
 NameDescription
Public ConstructorSetup ConstructorCreates a new Setup.  
Top
Public Properties
 NameDescription
Public PropertyACLAccess Control List  
Public PropertyAdvanceWarningAmount of time before an SLA that notification should be sent if the SLA will not be met  
Public PropertyAlertsGets the list of Alerts for this Setup.  
Public PropertyAlertsModifiedGets a boolean which indicates if the Alerts were modified after the Alert was Loaded.  
Public PropertyAutoSubmitGets or sets the AutoSubmit property. If set to true, this Setup will be automatically submitted based upon it's ScheduleDate and ExceptForDate values.  
Public PropertyAvgCountGets the number of times that the Setup's averages have been updated.  
Public PropertyAvgElapsedTimeGets the average elapsed time for this Setup.  
Public PropertyAvgJobCountGets the average number of jobs contained in this Setup.  
Public PropertyBatchQueueGets or sets the JAMS Batch Queue that Jobs within the Setup should be submitted to.  
Public PropertyBatchQueueIDGets and Sets the ID of the Batch Queue.  
Public PropertyBatchQueueNameGets or sets the batch queue that this setup should be submitted to. This overides the default batch queue that is specified in the setup's folder.  
Public PropertyDefaultDateGets or sets the DefaultDate property, which specifies the default submit date to use when this Setup is manually submitted.  
Public PropertyDefaultSubmitTimeGets or sets the default submit time to use when this Setup is manually submitted.  
Public PropertyDefaultUserNameGets the default username which will be used if this Setup is automatically submitted and a username isn't specified in the Setup or Folder definition. This name may not be set because it is automatically set to the username of the person who set the Setup to be automatically submitted.  
Public PropertyDependenciesGets the list of Dependencies for this Setup.  
Public PropertyDependenciesModifiedReturns true if the Setup Dependencies have been modified in any given editing session.  
Public PropertyDescriptionGets or sets a description of this Setup  
Public PropertyErrorGets an error message that describes the errors in the object. (Inherited from MVPSI.JAMS.BasePublicObject)
Public PropertyExceptForDateGets or sets the Setup's exception dates. This is used to specify days when this Setup should not run. You can specify more than one date separated by commas. Use JAMS natural language date specifications.  
Public PropertyFailShortGets or sets the FailShort property. If set to true, when a Setup is determined to be a Short Setup, the Setup will be treated as if it had failed.  
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 PropertyJobsGets the list of Jobs for this Setup.  
Public PropertyJobsModifiedReturns true if the Jobs for this Setup have been modified during any given editing session.  
Public PropertyKeepLogsGets or sets the KeepLogs property. When set to true, the Setup's log file is kept upon completion. If specified, this overrides the default in the Setup's Folder definition.  
Public PropertyLastAutosubmitGets the scheduled date and time that this Setup was last automatically submitted for. This is a read-only property, it is updated when JAMS automatically submits the Setup.  
Public PropertyLastAutosubmitUTCGets the scheduled utc date and time that this Setup was last automatically submitted for. This is a read-only property, it is updated when JAMS automatically submits the Setup.  
Public PropertyLastBadGets the date and time of the most recent bad completion of this Setup.  
Public PropertyLastBadUTCGets the UTC date and time of the most recent bad completion of this Setup.  
Public PropertyLastChangeGets the date and time when this Setup definition was last changed.  
Public PropertyLastChangedByGets the user who last changed this Setup.  
Public PropertyLastChangeUTCGets the UTC date and time when this Setup definition was last changed.  
Public PropertyLastGoodGets the date and time of the most recent good completion of this Setup.  
Public PropertyLastGoodUTCGets the UTC date and time of the most recent good completion of this Setup.  
Public PropertyLastResetGets the most recent reset date and time. When a setup is reset, all of it's dependencies are reset and they must run again.  
Public PropertyLastResetUTCGets the most recent reset UTC date and time. When a setup is reset, all of it's dependencies are reset and they must run again.  
Public PropertyLoadedFromGets the JAMS Server that this Setup was loaded from.  
Public PropertyLogFilenameGets or sets the name to be used for the log file when this Setup runs. The default is the name of the Setup with an extension of .log.  
Public PropertyMaxCountGets the number of times that one or more the the Setups maximums has been updated.  
Public PropertyMaxElapsedTimeGets the maximum elapsed time for this Setup.  
Public PropertyMaxJobCountGets the maximum number of jobs run by this Setup.  
Public PropertyMinCountGets the number of times that one or more the the Setups minimums has been updated.  
Public PropertyMinElapsedTimeGets the minimum elapsed time for this Setup.  
Public PropertyMinJobCountGets the minimum number of jobs run by this Setup.  
Public PropertyMissedWindowActionGets or sets what actions should occur if this Setup misses it's schedule window.  
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 PropertyNameGets or sets the name of the Setup  
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 PropertyNonWorkdaySchedulingGets or sets how this Setup should be handled if one of it's automatically scheduled runs falls on a nonworkday.  
Public PropertyNotifyEMailGets or sets the NotifyEMail property. This is a list of e-mail addresses, separated by commas. If this Setup requires notification, a mail message will be sent to this list of addresses.  
Public PropertyNotifyJobGets or sets a JAMS Job which should be submitted when notification is required.  
Public PropertyNotifyJobIDGets and Sets the ID of the notification Setup. This property is designed to be used by JAMS, not user code.  
Public PropertyNotifyJobNameGets or Sets the name of the notification job.  
Public PropertyNotifyJobNameIsRelativeGets or Sets the "Notify Job Name Is Relative" property. If set to true, it means NotifyJobName is a relative path. Otherwise, NotifyJobName is an absolute path.  
Public PropertyNotifyOfMissedWindowGets or sets the NotifyOfMissedWindow property. When set to true, notification will be performed if this Setup misses it's schedule window.  
Public PropertyNotifyOtherGets or sets the NotifyOther property. This is a list of operator classes, separated by commas. If this Setup requires notification, a message will be sent these operator classes.  
Public PropertyNotifySeverityGets or sets the minimum completion severity that will cause notification to occur.  
Public PropertyNotifyUserGets or sets the NotifyUser property. If set to true, the user who manually submits the Setup will be added to the notification list.  
Public PropertyNotifyUsersGets or sets the NotifyUsers property. This is a list of usernames, separated by commas. If this Setup requires notification, a message will be broadcast to these users (if they are logged on at the time.)  
Public PropertyParentFolderGets or sets the JAMS Folder that this Setup is a member of.  
Public PropertyParentFolderIDGets or sets the ParentFolder ID for this Setup.  
Public PropertyParentFolderNameGets or sets the name of the JAMS ParentFolder that this setup is a member of.  
Public PropertyPrecheckIntervalGets or sets the interval between runs of the Setup's Precheck job.  
Public PropertyPrecheckJobGets or sets a JAMS job that will serve as a Precheck job for this Setup.  
Public PropertyPrecheckJobIDGets and Sets the ID of the precheck job. This property is designed to be used by JAMS, not user code.  
Public PropertyPrecheckJobNameGets or Sets the name of the Precheck Job.  
Public PropertyPrecheckJobNameIsRelativeGets or Sets the "Precheck Job Name Is Relative" property. If set to true, it means PrecheckJobName is a relative path. Otherwise, PrecheckJobName is an absolute path.  
Public PropertyQualifiedNameReturn the full qualified name of the setup  
Public PropertyRecoverJobGets or sets a JAMS job that will serve as a Recovery job for this Setup.  
Public PropertyRecoverJobIDGets the the Recovery Job ID for this Job. This property is designed to be used by JAMS, not user code.  
Public PropertyRecoverJobNameGets or Sets the name of the Recovery Job.  
Public PropertyRecoverJobNameIsRelativeGets or Sets the "Recover Job Name Is Relative" property. If set to true, it means RecoverJobName is a relative path. Otherwise, RecoverJobName is an absolute path.  
Public PropertyRecoveryInstructionsRecoveryInstructions  
Public PropertyRecoverySeverityGets or sets the minimum completion severity that will cause recovery to occur.  
Public PropertyReferencesGets a list of References to this Setup.  
Public PropertyRequirementsGets the list of resource requirements for this Setup.  
Public PropertyRequirementsModifiedReturns true if the Setup Requirements have been modified in any given editing session.  
Public PropertyRestartableGets or sets the Restartable property, which specifies the restartablity of this Setup. A restartable Setup can be aborted and restarted.  
Public PropertyResubmitBaseGets or sets the ResubmitBase property, which specifies which time should be used to calculate the resubmit time for a recurring Setup.  
Public PropertyResubmitDelayGets or sets the delay between runs of a recurring Setup.  
Public PropertyResubmitEndGets or sets the time of day that a recurring Setup should stop.  
Public PropertyResubmitOnErrorGets or sets the ResubmitOnError property. If set to true, this setup will be automatically resubmitted even when it fails.  
Public PropertyRetainOptionGets or sets the retention policy for this Setup. The options are:

Never (N) Error (E) Timed (T)
Not Specified The retention policy is taken from the Setup's Folder definition.
Always (A) Setup is always retained until specifically deleted.
Never retain the Setup.
Setup is retained if it fails.
Setup is retained for the specified time after completion.

 
Public PropertyRetainTimeGets or sets the length of time the Setup should be retained when the retain option is set to "Timed".  
Public PropertyRetryCountGets or sets the number of times this Setup should be retried if it does not complete successfully the first time. Future functionality - this feature is not implemented in the JAMS Scheduler yet.  
Public PropertyRetryIntervalGets or sets the interval that JAMS should use if this Setup should be retried. Future functionality - this feature is not implemented in the JAMS Scheduler yet.  
Public PropertyRevisionHistoryGet the revision history of a JAMS Setup  
Public PropertyRunawayActionGets or sets the action taken when a setup is declared a runaway  
Public PropertyRunawayElapsedGets or sets the absolute runaway elapsed time. If the setup runs longer than this it is declared a runaway setup and notification will be performed.  
Public PropertyRunawayElapsedPerGets or sets the Runaway Setup Elapsed Time Percent which specifies how long a Setup may run before it is considered a runaway job. This is specified as a percentage of the Setup's average elapsed time. When the Setup is considered runaway, JAMS will perform notification for the Setup.  
Public PropertyScheduledDateGets or sets the Setup's scheduled date. You can specify more than one date separated by commas. Use JAMS natural language date specifications.  
Public PropertyScheduledDateEndScheduled End Date for a Setup.  
Public PropertyScheduledDateStartScheduled Start Date for a Setup.  
Public PropertyScheduledTimeGets or sets the Setup's scheduled time, used when the Setup is automatically submitted.  
Public PropertyScheduleFromTimeGets or sets the beginning of this Setup's schedule time window.  
Public PropertyScheduleToTimeGets or sets the ending of this Setup's schedule time window.  
Public PropertyScheduleWindowGets or sets the Setup's schedule window using a JAMS Time definition.  
Public PropertyScheduleWindowIDGets the the Schedule Window ID for this Job. This property is designed to be used by JAMS, not user code.  
Public PropertyScheduleWindowNameGets or Sets the name of the Schedule Window.  
Public PropertySchedulingPriorityModifierGets or sets the SchedulingPriorityModifier property. This number is used to calculate the scheduling priority for this Setup. When a Setup 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 PropertySetupIDGets an integer that uniquely identifies this Setup definition.  
Public PropertySetupNameGets or sets the name of the Setup  
Public PropertyShortElapsedGets or sets the Short Elapsed Time, which specifies a minimum elapsed time for the Setup. If the Setup completes successfully in less than this amount of time it is considered a Short Job.

When a job is determined to be a short job, JAMS will perform notification and may change the completion severity.

 
Public PropertyShortElapsedPerGets or sets the Short Setup Elapsed Time Percent which specifies a minimum elapsed time for a Setup. If the Setup completes successfully in less than this amount of time it is considered a Short Job. This is specified as a percentage of the Setup's average elapsed time. When a Setup is determined to be a short Setup, JAMS will perform notification for the Setup and may change the completion severity of the Setup.  
Public PropertySLATimeThe time of day that a job must be completed by to meet a Service Level Agreement  
Public PropertyStalledTimeGets or sets how much time may elapse after a Setup's scheduled time before the Setup is considered to be stalled. When the Setup is considered stalled, JAMS will perform notification.  
Public PropertySubmitOnHoldGets or sets the SubmitOnHold property. When submitted, should this setup be placed on hold until manually released?  
Public PropertySuppressMenuDisplayGets or sets the SuppressMenuDisplay property. You can prevent this Setup from being displayed on submit menus by setting this property to true.  
Public PropertyTimestampLogsGets or sets the TimestampLogs property. When the field is true, batch log files be time stamped with an extension of .LOG_yyyymmdd_hhmmsscc.  
Public PropertyTimeZoneUpdates or Returns the value of TimeZone  
Public PropertyTimeZoneIDA Time Zone ID number. Represents a specific Time Zone in the TimeZoneTable.  
Public PropertyTimeZoneNameA Time Zone Name. Represents a specific Time Zone in the TimeZoneTable.  
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 Methodstatic (Shared in Visual Basic)CheckChecks a Setup against a JAMS Server.  
Public MethodClearErrorClears the error message for a property. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodClearModifiedOverridden. Clear the modified flag of this Setup and all of the attached lists.  
Public MethodCloneImplementation of ICloneable Clone.  
Public MethodCompareToImplementation of IComparable CompareTo. Compare this instance to the one which is specified.  
Public Methodstatic (Shared in Visual Basic)DeleteOverloaded. Delete the Setup definition by Name from the default Server.  
Public MethodEndEditEnds an edit of this object. Any changes are saved. (Inherited from MVPSI.JAMS.BasePublicObject)
Public MethodEqualsChecks for equality.  
Public Methodstatic (Shared in Visual Basic)ExistsOverloaded. Test to determine if a given Setup exists on the default server.  
Public Methodstatic (Shared in Visual Basic)ExistsInPathTest to determine if a Job can be found within the specified Folder's search path.  
Public Methodstatic (Shared in Visual Basic)FindOverloaded. Return a collection of setups contained in the specified folder.  
Public MethodForceModifiedForces the Setup and all of the setup's sub-objects to be marked as modified.  
Public MethodGetAccessControlOverloaded. Gets a SetupSecurity object that encapsulates the access control list (ACL) entries for the Job described by the current Job object.  
Public MethodGetHashCodeReturns a hashcode.  
Public MethodInitializeInitializes all properties to their default values.  
Public Methodstatic (Shared in Visual Basic)LoadOverloaded. Load a Setup definition from the current JAMS Server.  
Public MethodMoveToSave the Setup with a new name and/or server and removed the old instance of the Setup.  
Public Methodstatic (Shared in Visual Basic)ResetStatisticsOverloaded. Resets the statistics on all matching setups.  
Public MethodSaveAsSave the Setup with a new name and/or server.  
Public MethodSetAccessControlApplies access control list (ACL) entries described by a SetupSecurity object to the Job described by the current Job object.  
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 the string equivalent of this Setup.  
Public MethodUndoEditsOverridden. Undo changes that have not been saved to the database.  
Public MethodUpdateOverloaded. Save updates to the JAMS Server.  
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 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

Setup Class
MVPSI.JAMS Namespace

Send Feedback