Package | Description |
---|---|
oracle.as.scheduler |
Enterprise Scheduler API interfaces and classes, including
RuntimeService and MetadataService.
|
oracle.as.scheduler.request |
Request Log and Output Content API.
|
Modifier and Type | Method and Description |
---|---|
void |
RecurrenceSet.add(Recurrence recurrence)
Add a Recurrence to this object.
|
void |
Incompatibility.addEntity(IncompatibleEntity incompEntity)
Adds an incompatibility entity to this object.
|
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.
|
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.
|
void |
JobSet.addStep(JobSetStep step)
Adds the given step to this JobSet.
|
Map |
RuntimeService.checkDetailedPermissions(RuntimeServiceHandle handle,
long[] requestIds,
RuntimeDataPermission.Action[] privileges)
Check whether the current user has privilegs on the input requests
identified by a list of request ids.
|
Map |
RuntimeService.checkRequestPrivilege(RuntimeServiceHandle handle,
long[] requestIds,
RuntimeDataPermission.Action[] privileges)
Check whether the current user has privilegs on the input requests
identified by a list of request ids.
|
abstract BaseMetadata |
BaseMetadata.clone(String newName) |
JobSet |
JobSet.clone(String newName) |
Incompatibility |
Incompatibility.clone(String newName) |
void |
MetadataService.close(MetadataServiceHandle handle)
Closes the session identified by an instance of MetadataServiceHandle.
|
void |
MetadataService.close(MetadataServiceHandle handle,
boolean abort)
Closes the session identified by an instance of MetadataServiceHandle.
|
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.customizeJobDefinition(MetadataServiceHandle handle,
JobDefinition jobDefinition,
MetadataService.CustomizableProperty property,
Serializable newValue)
Customize a property for JobDefinition metadata.
|
void |
MetadataService.customizeJobSet(MetadataServiceHandle handle,
JobSet jobSet,
MetadataService.CustomizableProperty property,
Serializable newValue)
Customize a property for JobSet metadata.
|
Object |
RuntimeService.getRequestParameter(RuntimeServiceHandle handle,
long requestId,
String name)
Retrieves the value of a request parameter.
|
static Object |
JobSetStepProperty.getTypedObject(String propName,
String val)
Returns the given value converted into the appropriate type
for the given property name.
|
ContentHandle |
RuntimeService.openOutputContent(RuntimeServiceHandle handle,
RequestExecutionContext context,
String contentName,
ContentType contentType,
EnumSet options)
Opens the named request output during job execution.
|
Enumeration |
RuntimeService.queryRequests(RuntimeServiceHandle handle,
Filter filter,
RuntimeService.QueryField orderBy,
boolean ascending)
Retrieves an enumeration of the request identifers for all requests
whose attribute and system properties match those specified by the
query parameters
|
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 |
RuntimeService.replaceSchedule(RuntimeServiceHandle handle,
long requestId,
Schedule schedule)
Replace the current schedule for a request that has already been
submitted.
|
void |
JobSet.setJsSteps(JobSetStep[] steps)
Sets the steps for this jobset to the given steps.
|
void |
RuntimeService.setRequestParameter(RuntimeServiceHandle handle,
long requestId,
String name,
Object value)
Sets the value of a request parameter for a specified request.
|
long |
RuntimeService.submitRequest(RuntimeServiceHandle handle,
RequestExecutionContext context,
String description,
MetadataObjectId definition,
RequestParameters parameters)
Submits a sub-request.
|
long |
RuntimeService.submitRequest(RuntimeServiceHandle handle,
String description,
JobType.ExecutionType type,
Schedule schedule,
oracle.as.scheduler.Trigger trigger,
Calendar start,
Calendar end,
RequestParameters parameters)
Adhoc job request submission using specified Schedule.
|
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 |
RuntimeService.updateRequestParameter(RuntimeServiceHandle handle,
long requestId,
String name,
Object value)
Updates the value of a request parameter for a specified request.
|
void |
RuntimeService.updateRequestStartEnd(RuntimeServiceHandle handle,
long requestId,
Calendar start,
Calendar end)
Replace the start and end time for a request that has already
been submitted.
|
void |
MetadataService.updateScheduleDefinition(MetadataServiceHandle handle,
MetadataObjectId objectId,
Schedule schedule)
Updates an existing Schedule definition in the metadata repository.
|
void |
RecurrenceSet.validate()
Validates this instance of RecurrenceSet.
|
void |
Recurrence.validate()
Checks if this Recurrence instance represents a complete recurrence
pattern or not.
|
void |
BaseMetadata.validate()
Validates this metadata object.
|
void |
Exclusion.validate()
Validates this instance of Exclusion to make sure it contains
valid
Recurrence or ExplicitDate . |
void |
JobDefinition.validate(JobType jobType)
Validates this JobDefinition.
|
void |
WorkAssignment.validateBound()
Validates this as a bound WorkAssignment.
|
void |
JobSet.validateForExecution()
Validates this JobSet for execution.
|
void |
RuntimeService.writeContent(ContentHandle contentHandle,
byte[] bytes)
Appends the bytes to the output content during job execution.
|
void |
RuntimeService.writeContent(ContentHandle contentHandle,
char[] chars)
Appends the characters to the output content during job execution.
|
void |
RuntimeService.writeContent(ContentHandle contentHandle,
String message)
Appends the string to the output content during job execution.
|
void |
RuntimeService.writelnContent(ContentHandle contentHandle,
String message)
Appends the string followed by a line feed character to the
output content during job execution.
|
Constructor and Description |
---|
RecurrenceSet(Recurrence[] recurrences)
Constructs a new instance with the given recurrences.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
RemoteContentHelper.getBinaryContent(ContentHandle contentHandle,
int maxBytes)
Gets at most
maxBytes bytes from the binary content. |
static OutputContentHelper |
ContentFactory.getOutputContentHelper(long requestId)
Gets the helper for creating output content for requests with
Standard or Extended request mode.
|
static OutputContentHelper |
ContentFactory.getOutputContentHelper(long requestId,
RuntimeServiceHandle rsh)
Gets the helper for creating output content for requests with
Standard or Extended request mode.
|
static RequestOutput |
ContentFactory.getRequestOutput(RuntimeServiceHandle rsh,
long requestId,
ContentType contentType,
String contentName)
Retrieves the request output and creates the output content in the
ESS content store for the request.
|
ContentHandle |
RemoteContentHelper.openOutputContent(RuntimeServiceHandle runtimeHandle,
String contentName,
ContentType contentType,
EnumSet options)
Opens output content for read or write.
|
void |
RequestOutput.write(byte[] bytes)
Appends the bytes to the binary output content.
|
void |
RequestOutput.write(byte[] bytes,
int offset,
int length)
Appends the bytes to the binary output content.
|
void |
RequestOutput.write(char[] chars)
Appends the characters to the text output content.
|
void |
RequestOutput.write(char[] chars,
int offset,
int length)
Appends the charactes to the text output content.
|
void |
RemoteContentHelper.write(ContentHandle contentHandle,
byte[] data)
Appends the bytes to the output content during job execution.
|
void |
RemoteContentHelper.write(ContentHandle contentHandle,
char[] data)
Appends the characters to the output content during job execution.
|
void |
RemoteContentHelper.write(ContentHandle contentHandle,
String data)
Appends the string to the output content during job execution.
|
void |
RequestOutput.write(String str)
Appends the String to the text output content.
|
void |
RequestOutput.write(String str,
int offset,
int length)
Appends the String to the text output content.
|
void |
RemoteContentHelper.writeln(ContentHandle contentHandle,
String data)
Appends the string followed by a line feed character to the
output content during job execution.
|
void |
RequestOutput.writeln(String str)
Appends the String to the text output content, followed by a
line feed character.
|