程序包 | 说明 |
---|---|
org.opencms.main |
Provides the main OpenCms "operating system".
|
org.opencms.scheduler |
The OpenCms scheduler provides a facility to run jobs in a regular schedule, much
like the "cron" faciltiy in UNIX systems.
|
限定符和类型 | 方法和说明 |
---|---|
static CmsObject |
OpenCms.initCmsObject(CmsObject adminCms,
CmsContextInfo contextInfo)
Returns an initialized CmsObject with the user and context initialized as provided.
|
protected CmsObject |
OpenCmsCore.initCmsObject(CmsObject adminCms,
CmsContextInfo contextInfo)
Returns an initialized CmsObject with the user and context initialized as provided.
|
限定符和类型 | 方法和说明 |
---|---|
CmsContextInfo |
CmsScheduledJobInfo.getContextInfo()
Returns the context information for the user executing this job.
|
限定符和类型 | 方法和说明 |
---|---|
void |
CmsScheduledJobInfo.setContextInfo(CmsContextInfo contextInfo)
Sets the context information for the user executing the job.
|
构造器和说明 |
---|
CmsScheduledJobInfo(java.lang.String id,
java.lang.String jobName,
java.lang.String className,
CmsContextInfo context,
java.lang.String cronExpression,
boolean reuseInstance,
boolean active,
java.util.SortedMap<java.lang.String,java.lang.String> parameters)
Constructor for creating a new job with all required parameters.
|