|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.content.federated.ContentJob
public class ContentJob
The Content Job class contains information about a scheduled content job
Field Summary | |
---|---|
static int |
JOB_CANCELLED
|
static int |
JOB_ERROR
|
static int |
JOB_FINISHED
|
static int |
JOB_SCHEDULED
|
Constructor Summary | |
---|---|
ContentJob()
Default ContentJob Constructor |
|
ContentJob(String name,
String description)
Create a ContentJob object which will run commands at a given schedule |
Method Summary | |
---|---|
Calendar |
getCreatedDate()
Returns the date on which the content job was created |
String |
getDescription()
Return the Description of the job |
int |
getEndStatus()
Each scheduled content job will have an workflow end status into which all scheduled nodes should be checked in |
String |
getErrorMessage()
If the job failed for some reason during execution, this field describes the error |
JobResult |
getJobResult()
Returns the result of the job data once a job has finished execution. |
int |
getJobStatus()
Returns the job status. |
String |
getName()
Returns the name of the content job. |
List<ID> |
getNodeIds()
Returns the nodes associated with the content job |
Calendar |
getScheduleDate()
Returns the scheduled date on which the job is supposed to be run |
String |
getUserName()
Returns the name of the user which created the content job |
void |
setCreatedDate(Calendar createdDate)
Sets the create date of the content job |
void |
setDescription(String description)
Sets the description of the content job |
void |
setEndStatus(int endStatus)
Sets the end status of the ContentJob |
void |
setErrorMessage(String errorMessage)
Sets the error message in case the job fails execution |
void |
setJobResult(JobResult jobResult)
Sets the jobResult for a content job |
void |
setJobStatus(int jobStatus)
Sets the job status. |
void |
setNodeIds(List<ID> nodeIds)
Sets the nodes associated with the job |
void |
setScheduleDate(Calendar scheduleDate)
Sets the job run schedule date. |
void |
setUserName(String userName)
Sets the user which created the content job |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int JOB_ERROR
public static final int JOB_CANCELLED
public static final int JOB_FINISHED
public static final int JOB_SCHEDULED
Constructor Detail |
---|
public ContentJob()
public ContentJob(String name, String description)
name
- The name of the content jobdescription
- The description of the content jobMethod Detail |
---|
public String getDescription()
public void setDescription(String description)
description
- public int getJobStatus()
public void setJobStatus(int jobStatus)
jobStatus
- public String getName()
public List<ID> getNodeIds()
public void setNodeIds(List<ID> nodeIds)
nodeIds
- public Calendar getScheduleDate()
public void setScheduleDate(Calendar scheduleDate)
scheduleDate
- public Calendar getCreatedDate()
public void setCreatedDate(Calendar createdDate)
createdDate
- public String getUserName()
public void setUserName(String userName)
userName
- public int getEndStatus()
public void setEndStatus(int endStatus)
endStatus
- public JobResult getJobResult()
public void setJobResult(JobResult jobResult)
jobResult
- public String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
-
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |