Package | Description |
---|---|
oracle.as.scheduler |
Enterprise Scheduler API interfaces and classes, including
RuntimeService and MetadataService.
|
Modifier and Type | Method and Description |
---|---|
MetadataObjectId |
MetadataService.addExclusionDefinition(MetadataServiceHandle handle,
ExclusionsDefinition exclusion,
String packageName)
Adds a ExclusionsDefinition to the metadata repository.
|
MetadataObjectId |
MetadataService.addIncompatibility(MetadataServiceHandle handle,
Incompatibility incompatibility,
String packageName)
Adds an Incompatibility in the metadata repository.
|
MetadataObjectId |
MetadataService.addJobDefinition(MetadataServiceHandle handle,
JobDefinition jobDefn,
String packageName)
Adds a JobDefinition to the metadata repository.
|
MetadataObjectId |
MetadataService.addJobSet(MetadataServiceHandle handle,
JobSet jobset,
String packageName)
Adds a JobSet to the metadata repository.
|
MetadataObjectId |
MetadataService.addJobType(MetadataServiceHandle handle,
JobType jobType,
String packageName)
Adds a JobType in the metadata repository.
|
MetadataObjectId |
MetadataService.addScheduleDefinition(MetadataServiceHandle handle,
Schedule schedule,
String packageName)
Adds a Schedule to the metadata repository.
|
MetadataObjectId |
MetadataService.copyExclusionDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a ExclusionDefinition to create another with the
given name.
|
MetadataObjectId |
MetadataService.copyIncompatibility(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies an Incompatibility to create another with the given name.
|
MetadataObjectId |
MetadataService.copyJobDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a JobDefinition to create another with the given name.
|
MetadataObjectId |
MetadataService.copyJobSet(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a JobSet to create another with the given name.
|
MetadataObjectId |
MetadataService.copyJobType(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a JobType to create another with the given name.
|
MetadataObjectId |
MetadataService.copyScheduleDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a Schedule to create another with the given name.
|
static MetadataObjectId |
MetadataObjectId.createMetadataObjectId(MetadataObjectId.MetadataObjectType type,
String packageName,
String name)
Creates an instance of a
MetadataObjectId from the given
individual parts. |
MetadataObjectId |
IncompatibleEntity.getEntity()
Gets the unique metadata identifier for the
JobDefinition or
JobSet for this incompatible entity. |
MetadataObjectId |
RequestDetail.getJobDefn()
The job or job set definition identifier associated with this request.
|
MetadataObjectId |
JobSetStep.getJobId()
Gets the job id for this step.
|
MetadataObjectId |
JobDefinition.getJobType()
The metadata identifier of the JobType associated with this
JobDefinition instance.
|
MetadataObjectId |
RequestDetail.getJobType()
The job type identifier associated with this request.
|
MetadataObjectId |
BaseMetadata.getMetadataObjectId()
Retrieves the unique identifier of this object within the
metadata repository.
|
MetadataObjectId |
MetadataNotFoundException.getObjectId()
The
MetadataObjectId associated with this object. |
MetadataObjectId |
RequestDetail.getProcessingWorkAssignment()
The work assignment that was active on the request processor
when the request was processed.
|
MetadataObjectId |
RequestDetail.getProcessingWorkshift()
The work shift that was active on the request processor
when the request was processed.
|
MetadataObjectId |
Workshift.getSchedule()
Gets the
MetadataObjectId for the Schedule
associated with this workshift. |
MetadataObjectId |
RequestDetail.getScheduleDefn()
The schedule definition identifier associated with this request.
|
MetadataObjectId |
FailedExecutionResult.getWorkAssignmentId()
The metadata id of the work assignment that handled this execution
attempt.
|
MetadataObjectId |
FailedExecutionResult.getWorkshiftId()
The metadata id of the workshift that handled this execution attempt.
|
Modifier and Type | Method and Description |
---|---|
void |
Incompatibility.addEntity(MetadataObjectId entity,
boolean selfIncompatible)
Adds an incompatibility entity to this object.
|
void |
Incompatibility.addEntity(MetadataObjectId entity,
String property,
boolean selfIncompatible)
Adds an incompatibility entity to this object.
|
void |
Schedule.addExclusion(MetadataObjectId objectId)
Adds a reference of an instance of ExclusionsDefinition in this
Schedule object.
|
void |
WorkAssignment.addWorkshift(MetadataObjectId objectId)
Adds a workshift to this WorkAssignment.
|
MetadataObjectId |
MetadataService.copyExclusionDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a ExclusionDefinition to create another with the
given name.
|
MetadataObjectId |
MetadataService.copyIncompatibility(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies an Incompatibility to create another with the given name.
|
MetadataObjectId |
MetadataService.copyJobDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a JobDefinition to create another with the given name.
|
MetadataObjectId |
MetadataService.copyJobSet(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a JobSet to create another with the given name.
|
MetadataObjectId |
MetadataService.copyJobType(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a JobType to create another with the given name.
|
MetadataObjectId |
MetadataService.copyScheduleDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
String packageName,
String newName)
Copies a Schedule to create another with the given name.
|
void |
MetadataService.deleteExclusionDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId)
Deletes a ExclusionDefinition from the metadata repository.
|
void |
MetadataService.deleteIncompatibility(MetadataServiceHandle handle,
MetadataObjectId objectId)
Deletes an Incompatibility from the metadata repository.
|
void |
MetadataService.deleteJobDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId)
Deletes a JobDefinition from the metadata repository.
|
void |
MetadataService.deleteJobSet(MetadataServiceHandle handle,
MetadataObjectId objectId)
Deletes a JobSet from the metadata repository.
|
void |
MetadataService.deleteJobType(MetadataServiceHandle handle,
MetadataObjectId objectId)
Deletes a JobType from the metadata repository.
|
void |
MetadataService.deleteScheduleDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId)
Deletes a Schedule from the metadata repository.
|
IncompatibleEntity |
Incompatibility.getEntity(MetadataObjectId entity)
Gets information for an incompatibility entity associated
with this incompatibility definition.
|
ExclusionsDefinition |
MetadataService.getExclusionDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
boolean forUpdate)
Retrieves a ExclusionsDefinition from the metadata repository.
|
ExclusionsDefinition[] |
MetadataService.getExclusionDefinitions(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieve an array of ExclusionsDefinition from the metadata repository.
|
Map |
MetadataService.getExclusionDefinitionsMap(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves a Map of ExclusionsDefinition for MetadataObjectIds from
the metadata repository.
|
Collection |
MetadataService.getIncompatibilities(MetadataServiceHandle handle,
MetadataObjectId entity)
Deprecated.
|
Incompatibility[] |
MetadataService.getIncompatibilities(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieve an array of Incompatibilities from the metadata repository.
|
Map |
MetadataService.getIncompatibilitiesMap(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves map of Incompatibilities for MetadataObjectIds
from the metadata repository.
|
Incompatibility |
MetadataService.getIncompatibility(MetadataServiceHandle handle,
MetadataObjectId objectId,
boolean forUpdate)
Retrieves an Incompatibility from the metadata repository.
|
JobDefinition |
MetadataService.getJobDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
boolean forUpdate)
Retrieves a JobDefinition from the metadata repository.
|
JobDefinition[] |
MetadataService.getJobDefinitions(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves an array of JobDefinitions from the metadata repository.
|
Map |
MetadataService.getJobDefinitionsMap(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves map of JobDefinitions for MetadataObjectIds from the
metadata repository.
|
JobSet |
MetadataService.getJobSet(MetadataServiceHandle handle,
MetadataObjectId objectId,
boolean forUpdate)
Retrieves a JobSet from the metadata repository.
|
JobSet[] |
MetadataService.getJobSets(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves an array of JobSets from the metadata repository.
|
Map |
MetadataService.getJobSetsMap(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves a map of JobSets for MetadataObjectIds from the
metadata repository.
|
JobType |
MetadataService.getJobType(MetadataServiceHandle handle,
MetadataObjectId objectId,
boolean forUpdate)
Retrieves a JobType from the metadata repository.
|
JobType[] |
MetadataService.getJobTypes(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieve an array of JobTypes from the metadata repository.
|
Map |
MetadataService.getJobTypesMap(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves a map of JobTypes for MetadataObjectIds from the
metadata repository.
|
BaseMetadata |
MetadataService.getMetadata(MetadataServiceHandle handle,
BaseMetadataType metadataType,
MetadataObjectId metadataObjectId,
boolean forUpdate)
A generic getter for any type of metadata.
|
Schedule |
MetadataService.getScheduleDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
boolean forUpdate)
Retrieves a Schedule from the metadata repository.
|
Schedule[] |
MetadataService.getScheduleDefinitions(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves an array of Schedules from the metadata repository.
|
Map |
MetadataService.getScheduleDefinitionsMap(MetadataServiceHandle handle,
MetadataObjectId[] objectIds,
boolean forUpdate)
Retrieves map of Schedules for MetadataObjectIds from the
metadata repository.
|
boolean |
MetadataService.hasPermission(MetadataServiceHandle handle,
MetadataObjectId objectId,
MetadataPermission.Action[] actions)
Checks if the current user has permission to perform an action
on a given metadata object.
|
boolean |
MetadataService.isInCustomMDSNamespace(MetadataServiceHandle handle,
MetadataObjectId objectId)
Checks whether the namespace of the objectId matches with the
custom MDS namespace.
|
void |
BaseMetadataType.onAdd(MetadataObjectId objectId,
BaseMetadata baseMetadata,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.WorkshiftType.onAdd(MetadataObjectId objectId,
BaseMetadata baseMetadata,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.onDelete(MetadataObjectId objectId,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.WorkshiftType.onDelete(MetadataObjectId objectId,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.onUpdate(MetadataObjectId objectId,
BaseMetadata baseMetadata,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.WorkshiftType.onUpdate(MetadataObjectId objectId,
BaseMetadata baseMetadata,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
Incompatibility.removeEntity(MetadataObjectId entity)
Removes the specified entity from this incompatibility definition.
|
void |
Schedule.removeExclusion(MetadataObjectId objectId)
Removes the given reference of ExclusionsDefinition from this
Schedule object.
|
void |
WorkAssignment.removeWorkshift(MetadataObjectId objectId)
Removes a workshift from this WorkAssignment.
|
void |
RuntimeService.replaceSchedule(RuntimeServiceHandle handle,
long requestId,
MetadataObjectId scheduleId)
Replace the current schedule for a request that has already been
submitted.
|
void |
RuntimeService.replaceSchedule(RuntimeServiceHandle handle,
long requestId,
MetadataObjectId scheduleId,
Schedule schedule,
Calendar start,
Calendar end)
Replace the current schedule for a request that has already been
submitted with a schedule.
|
void |
JobSetStep.setJobId(MetadataObjectId jobId)
Sets the jobId for this step.
|
void |
Workshift.setSchedule(MetadataObjectId schedule)
Sets the Schedule for this Workshift.
|
long |
RuntimeService.submitRequest(RuntimeServiceHandle handle,
RequestExecutionContext context,
String description,
MetadataObjectId definition,
RequestParameters parameters)
Submits a sub-request.
|
long |
RuntimeService.submitRequest(RuntimeServiceHandle handle,
String description,
MetadataObjectId definition,
Calendar start,
RequestParameters parameters)
Creates a new job request using metadata definition of the job
to run once on a specific time.
|
long |
RuntimeService.submitRequest(RuntimeServiceHandle handle,
String description,
MetadataObjectId definition,
MetadataObjectId schedule,
MetadataObjectId trigger,
Calendar start,
Calendar end,
RequestParameters parameters)
Creates a new job request using metadata definitions of the job,
and schedule.
|
long |
RuntimeService.submitRequest(RuntimeServiceHandle handle,
String description,
MetadataObjectId definition,
Schedule schedule,
oracle.as.scheduler.Trigger trigger,
Calendar start,
Calendar end,
RequestParameters parameters)
Adhoc job request submission using job definition from metadata.
|
void |
MetadataService.updateExclusionDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
ExclusionsDefinition exclusion)
Updates an existing ExclusionsDefinition in the metadata repository.
|
void |
MetadataService.updateIncompatibility(MetadataServiceHandle handle,
MetadataObjectId objectId,
Incompatibility incompatibility)
Updates an existing Incompatibility definition in the metadata
repository.
|
void |
MetadataService.updateJobDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
JobDefinition jobDefn)
Updates an existing JobDefinition definition in the metadata repository.
|
void |
MetadataService.updateJobSet(MetadataServiceHandle handle,
MetadataObjectId objectId,
JobSet jobset)
Updates an existing JobSet definition in the metadata repository.
|
void |
MetadataService.updateJobType(MetadataServiceHandle handle,
MetadataObjectId objectId,
JobType jobType)
Updates an existing JobType definition in the metadata repository.
|
void |
MetadataService.updateScheduleDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
Schedule schedule)
Updates an existing Schedule definition in the metadata repository.
|
void |
BaseMetadataType.vetoCustomize(MetadataObjectId objectId,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.vetoDelete(MetadataObjectId objectId,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.WorkAssignmentType.vetoDelete(MetadataObjectId objectId,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.vetoUpdate(MetadataObjectId objectId,
BaseMetadata metadata,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
void |
BaseMetadataType.WorkAssignmentType.vetoUpdate(MetadataObjectId objectId,
BaseMetadata metadata,
oracle.as.scheduler.localization.EssMessages messages,
oracle.as.scheduler.localization.EssMessages logger) |
Constructor and Description |
---|
IncompatibleEntity(MetadataObjectId entity,
boolean selfIncompatible)
Creates a new incompatibility entity.
|
IncompatibleEntity(MetadataObjectId entity,
String property,
boolean selfIncompatible)
Creates a new incompatibility entity.
|
JobDefinition(String name,
MetadataObjectId jobType)
Constructs a skeletal JobDefinition with name and JobType.
|
JobDefinition(String name,
MetadataObjectId jobType,
String description,
ParameterList parameters)
Constructs a JobDefinition with the given parameters.
|
JobDefinition(String name,
MetadataObjectId jobType,
String displayNameKey,
String descriptionKey,
ParameterList parameters,
String[] resourceBundleIDs)
Constructs a fully populated JobDefinition.
|
JobSetStep(String stepId,
MetadataObjectId jobId)
Constructs a JobSetStep.
|
JobSetStep(String stepId,
MetadataObjectId jobId,
ParameterList stepParams)
Constructs a JobSetStep.
|
MetadataNotFoundException(String msg,
MetadataObjectId objectId)
Constructor with a detailed message.
|
MetadataNotFoundException(String msg,
Throwable cause,
MetadataObjectId objectId)
Constructor with a detailed message and underlying cause.
|
MetadataNotFoundException(Throwable cause,
MetadataObjectId objectId)
Constructor with the underlying cause.
|
Workshift(String name,
String description,
MetadataObjectId schedule,
int duration,
int allocation)
Creates a Workshift definition with no async limits.
|
Workshift(String name,
String description,
MetadataObjectId schedule,
int duration,
int allocation,
int plsqlLimit,
int asyncJavaLimit)
Creates a fully-defined Workshift definition.
|
Workshift(String name,
String displayNameKey,
String descriptionKey,
MetadataObjectId schedule,
int duration,
int allocation,
int plsqlLimit,
int asyncJavaLimit,
String[] resourceBundleIDs)
Creates a fully-defined Workshift definition
and associated resource bundles.
|
Workshift(String name,
String displayNameKey,
String descriptionKey,
MetadataObjectId schedule,
int duration,
int allocation,
String[] resourceBundleIDs)
Creates a Workshift definition with no async limits
and with associated resource bundles.
|