WrkCtrSchedulerEngineInterface Interface [AX 2012]
The WrkCtrSchedulerEngineInterface class is used as a scheduling engine interface.
| Method | Description | |
|---|---|---|
| addCapacityReservation | Adds reserved capacity information for a specific resource. |
| addConstraintEndsDelayed | Defines the constraint that a job cannot end before another job ends plus some delay time. |
| addConstraintJobEndsAt | Adds a constraint that a job should end at a specified date and time. |
| addConstraintJobListWorkingTimeIntersect | Specifies a job capacity reservations intersection constraint for a list of jobs. |
| addConstraintJobOverlap | Adds a constraint that defines how jobs are sequenced. |
| addConstraintJobStartsAt | Adds a constraint that a job should start at a specified date and time. |
| addConstraintMaxJobDays | Defines the constraint that a job can span over a specified maximal number of days. |
| addConstraintNotOnSameResource | Adds a constraint that two jobs should not be scheduled on the same resource. |
| addConstraintOnSameResource | Adds a constraint that two jobs are using the same resource. |
| addConstraintResourceRequirement | Adds the constraint that the job must be scheduled on a specific resource. |
| addJobBindPriority | Adds a job bind priority for a (job, constraint level) pair. |
| addJobCapacity | Adds capacity load information for a job. |
| addJobGoal | Adds job goal information for a specific constraint level. |
| addJobInfo | Adds a job information record that informs the engine about a job that should be scheduled. |
| addJobLink | Adds a link between two jobs. |
| addJobResourceCapacity | Adds a resource to the set of resources that may be used to perform a job. |
| addJobResourcePriority | Adds the priority to use when a job is scheduled on a resource. |
| addJobResourceRuntime | Specifies a job time that is independent of which the resource the job will be scheduled. |
| addJobRuntime | Specifies a job time that is independent of the resource on which the job will be scheduled. |
| addJobSameReservations | Adds a constraint that forces a job to have the same reservations as the primary job. |
| addOptimizationGoal | Adds a scheduling optimization goal. |
| addPropertyToGroupAggregation | Adds a property prefix to the set of properties used when capacity is aggregated. |
| addResource | Adds a resource to the scheduling engine resource pool. |
| addResourceGroup | Adds a resource group to the scheduling engine resource group pool. |
| addResourceGroupMembership | Adds a resource as a member to an resource group. |
| addWorkingTime | Adds working time intervals for a specific resource. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| clearAllCachedData | Resets the working times cache. |
| dispose | Performs application-defined tasks that are associated with freeing, releasing, or resetting unmanaged resources. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getJobSchedulingSequenceResult | Gets the scheduling result and the first error job for the sequence identified by a specific job. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmWrkCtrSchedulerRuntimes | Gets or sets the WrkCtrSchedulerRuntimes parameter. |
| prepareCapacityCheckIntervals | Inserts capacity check intervals. |
| reset | Triggers a reset of the scheduling engine, preparing it for a new scheduling run. |
| run | Schedules all loaded jobs and returns the error code. |
| scheduleJobOnResourceGroup | Marks a job for scheduling on the resource group level. |
| setJobResourcePreemptionAllowed | Sets whether preemption is allowed for a job on a resource. |
| setPrimaryParallelJob | Adds information about what job is the primary job in a set of parallel jobs. |
| setRequiredNumberOfResources | Sets the number of resources required to schedule a job. |
| setReservationsTimeStamp | Sends a timestamp to the engine set on all new capacity reservations for the scheduled jobs in the cache of the engine. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateJobCapacityReservations | Validates the capacity reservations for all the jobs stored by the engine. |
| wait | Pauses a process. (Inherited from Object.) |
| writeScheduledData | Writes the reservations of the job data capacity to the database. |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show: