public interface IJobDescription
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
static int |
HOPCOUNT_ACCURATE |
static int |
HOPCOUNT_NEVERDELETE |
static int |
HOPCOUNT_NODELETE |
static int |
START_DISABLE |
static int |
START_WINDOWBEGIN |
static int |
START_WINDOWINSIDE |
static int |
TYPE_CONTINUOUS |
static int |
TYPE_SPECIFIED |
Modifier and Type | Method and Description |
---|---|
void |
addHopCountFilter(java.lang.String linkType,
java.lang.Long maxHops)
Add a hopcount filter to the job.
|
Specification |
addNotification(java.lang.String notificationConnectionName,
java.lang.String notificationDescription)
Add a notification.
|
Specification |
addPipelineStage(int prerequisiteStage,
boolean isOutput,
java.lang.String pipelineStageConnectionName,
java.lang.String pipelineStageDescription)
Add a pipeline connection.
|
void |
addScheduleRecord(ScheduleRecord record)
Add a record.
|
void |
clearHopCountFilters()
Clear the set of hopcount filters for the job.
|
void |
clearNotifications()
Clear notification connections.
|
void |
clearPipeline()
Clear pipeline connections.
|
void |
clearScheduleRecords()
Clear all the scheduling records.
|
int |
countNotifications()
Get a count of pipeline connections.
|
int |
countPipelineStages()
Get a count of pipeline connections.
|
void |
deleteNotification(int index)
Delete a notification.
|
void |
deletePipelineStage(int index)
Delete a pipeline stage.
|
void |
deleteScheduleRecord(int index)
Delete a specified schedule record.
|
java.lang.String |
getConnectionName()
Get the connection name.
|
java.lang.String |
getDescription()
Get the description.
|
java.lang.Long |
getExpiration()
Get the expiration time, in milliseconds.
|
java.util.Map |
getHopCountFilters()
Get the set of hopcount filters the job has defined.
|
int |
getHopcountMode()
Get the hopcount mode.
|
java.lang.Long |
getID()
Get the id.
|
java.lang.Long |
getInterval()
Get the rescheduling interval, in milliseconds.
|
boolean |
getIsNew()
Get isnew.
|
java.lang.Long |
getMaxInterval()
Get the maximum rescheduling interval, in milliseconds.
|
java.lang.String |
getNotificationConnectionName(int index)
Get a specific notification connection name.
|
java.lang.String |
getNotificationDescription(int index)
Get a specific notification description.
|
Specification |
getNotificationSpecification(int index)
Get a specific notification specification.
|
java.lang.String |
getPipelineStageConnectionName(int index)
Get a specific pipeline connection name.
|
java.lang.String |
getPipelineStageDescription(int index)
Get a specific pipeline stage description.
|
boolean |
getPipelineStageIsOutputConnection(int index)
Check if a pipeline stage is an output connection.
|
int |
getPipelineStagePrerequisite(int index)
Get the prerequisite stage number for a pipeline stage.
|
Specification |
getPipelineStageSpecification(int index)
Get a specific pipeline stage specification.
|
int |
getPriority()
Get the job priority.
|
java.lang.Long |
getReseedInterval()
Get the reseeding interval, in milliseconds.
|
ScheduleRecord |
getScheduleRecord(int index)
Get a specified schedule record.
|
int |
getScheduleRecordCount()
Get the number of schedule records.
|
Specification |
getSpecification()
Get the document specification (which can be modified).
|
int |
getStartMethod()
Get the job's start method.
|
int |
getType()
Get the job type.
|
Specification |
insertNotification(int index,
java.lang.String notificationConnectionName,
java.lang.String notificationDescription)
Insert a new notification.
|
Specification |
insertPipelineStage(int index,
boolean isOutput,
java.lang.String pipelineStageConnectionName,
java.lang.String pipelineStageDescription)
Insert a new pipeline stage.
|
void |
setConnectionName(java.lang.String connectionName)
Set the connection name.
|
void |
setDescription(java.lang.String description)
Set the description.
|
void |
setExpiration(java.lang.Long time)
Set the expiration time, in milliseconds.
|
void |
setHopcountMode(int mode)
Set the hopcount mode.
|
void |
setInterval(java.lang.Long interval)
Set the rescheduling interval, in milliseconds, or null if forever.
|
void |
setMaxInterval(java.lang.Long interval)
Set the maximum rescheduling interval, in milliseconds, or null if forever.
|
void |
setPriority(int priority)
Set the job priority.
|
void |
setReseedInterval(java.lang.Long interval)
Set the reseeding interval, in milliseconds.
|
void |
setStartMethod(int startMethod)
Set the job's start method.
|
void |
setType(int type)
Set the job type.
|
static final java.lang.String _rcsid
static final int TYPE_CONTINUOUS
static final int TYPE_SPECIFIED
static final int START_WINDOWBEGIN
static final int START_WINDOWINSIDE
static final int START_DISABLE
static final int HOPCOUNT_ACCURATE
static final int HOPCOUNT_NODELETE
static final int HOPCOUNT_NEVERDELETE
boolean getIsNew()
java.lang.Long getID()
void setDescription(java.lang.String description)
description
- is the description.java.lang.String getDescription()
void setConnectionName(java.lang.String connectionName)
connectionName
- is the connection name.java.lang.String getConnectionName()
void clearPipeline()
Specification addPipelineStage(int prerequisiteStage, boolean isOutput, java.lang.String pipelineStageConnectionName, java.lang.String pipelineStageDescription)
prerequisiteStage
- is the prerequisite stage number for this connection, or -1 if there is none.isOutput
- is true if the pipeline stage is an output connection.pipelineStageConnectionName
- is the name of the pipeline connection to add.pipelineStageDescription
- is a description of the pipeline stage being added.int countPipelineStages()
int getPipelineStagePrerequisite(int index)
index
- is the index of the pipeline stage to get.boolean getPipelineStageIsOutputConnection(int index)
index
- is the index of the pipeline stage to check.java.lang.String getPipelineStageConnectionName(int index)
index
- is the index of the pipeline stage whose connection name to get.java.lang.String getPipelineStageDescription(int index)
index
- is the index of the pipeline stage whose description to get.Specification getPipelineStageSpecification(int index)
index
- is the index of the pipeline stage whose specification is needed.void deletePipelineStage(int index)
index
- is the index of the pipeline stage to delete.Specification insertPipelineStage(int index, boolean isOutput, java.lang.String pipelineStageConnectionName, java.lang.String pipelineStageDescription)
index
- is the index to insert pipeline stage beforepipelineStageConnectionName
- is the connection name.pipelineStageDescription
- is the description.void clearNotifications()
Specification addNotification(java.lang.String notificationConnectionName, java.lang.String notificationDescription)
notificationConnectionName
- is the name of the notification connection to add.notificationDescription
- is a description of the notification being added.int countNotifications()
java.lang.String getNotificationConnectionName(int index)
index
- is the index of the notification whose connection name to get.java.lang.String getNotificationDescription(int index)
index
- is the index of the notification whose description to get.Specification getNotificationSpecification(int index)
index
- is the index of the notification whose specification is needed.void deleteNotification(int index)
index
- is the index of the notification to delete.Specification insertNotification(int index, java.lang.String notificationConnectionName, java.lang.String notificationDescription)
index
- is the index to insert pipeline stage beforenotificationConnectionName
- is the connection name.notificationDescription
- is the description.void setType(int type)
type
- is the type (as an integer).int getType()
void setStartMethod(int startMethod)
startMethod
- is the start description.int getStartMethod()
void clearScheduleRecords()
void addScheduleRecord(ScheduleRecord record)
record
- is the record to add.int getScheduleRecordCount()
ScheduleRecord getScheduleRecord(int index)
index
- is the record number.void deleteScheduleRecord(int index)
index
- is the record number.void setInterval(java.lang.Long interval)
interval
- is the default interval.java.lang.Long getInterval()
void setMaxInterval(java.lang.Long interval)
interval
- is the maximum interval.java.lang.Long getMaxInterval()
void setExpiration(java.lang.Long time)
time
- is the maximum expiration time of a document, in milliseconds, or null if none.java.lang.Long getExpiration()
void setReseedInterval(java.lang.Long interval)
interval
- is the interval, or null for infinite.java.lang.Long getReseedInterval()
Specification getSpecification()
void setPriority(int priority)
priority
- is the priority.int getPriority()
java.util.Map getHopCountFilters()
void clearHopCountFilters()
void addHopCountFilter(java.lang.String linkType, java.lang.Long maxHops)
linkType
- is the type of link the filter applies to.maxHops
- is the maximum hop count. Use null to remove a filter.int getHopcountMode()
void setHopcountMode(int mode)