com.supermap.geoprocessor.jobscheduling.manager
Class SchedulerHandleManager
- java.lang.Object
-
- com.supermap.geoprocessor.jobscheduling.manager.SchedulerHandleManager
-
public class SchedulerHandleManager extends java.lang.ObjectThe handle manager. Create specific action according to the type. The value of the type refers to the constant values.
-
-
Field Summary
Fields Modifier and Type Field and Description static intCLEARALL_INSCHEDULERClear all, jobs and triggers.static intGET_DATALISTGet all data published by server.static intGET_LIST_FOR_MODELERGet a list (project list and model list)static intGET_PTOJECTCONTENTGet project file information.static intGET_PTOJECTLISTGet project file list.static intGETJOBS_LINKEDMODELNAMEGet the jobs related with specified model.static intGETLOG_DETAILGet log in details.static intGETLOGLIST_FOR_JOBGet executing jobs and executing records.static intJOBACTION_STATEQUERYQuery the job state.static intJOBS_IN_GROUPGet the registered jobs of the specified group in the scheduler.static intJOBSTART_INTIMEStart jobs in time.static intLOGINLog in.static intMODELANDPROJECT_SUBMITSubmit a model or a project.static intMODIFY_TRIGGERTIMEModify the job trigger.static intNEWJOB_SCHEDULERAdd new job to the scheduler.static intREMOVEGROUP_INSCHEDULERRemove a group in the specified scheduler.static intREMOVEJOB_INGROUPRemove a job in the specified scheduler.static intVALIDATION_NAMEName validation, including new task name and task group name.
-
Constructor Summary
Constructors Constructor and Description SchedulerHandleManager()
-
Method Summary
Methods Modifier and Type Method and Description ISchedulerActioncreateOperateAction(int type)Create operaton action according to type.static SchedulerHandleManagergetInstance()Get the instance of the scheduler.
-
-
-
Field Detail
-
NEWJOB_SCHEDULER
public static final int NEWJOB_SCHEDULER
Add new job to the scheduler.
-
JOBACTION_STATEQUERY
public static final int JOBACTION_STATEQUERY
Query the job state.
-
JOBS_IN_GROUP
public static final int JOBS_IN_GROUP
Get the registered jobs of the specified group in the scheduler.
-
REMOVEJOB_INGROUP
public static final int REMOVEJOB_INGROUP
Remove a job in the specified scheduler.
-
REMOVEGROUP_INSCHEDULER
public static final int REMOVEGROUP_INSCHEDULER
Remove a group in the specified scheduler.
-
CLEARALL_INSCHEDULER
public static final int CLEARALL_INSCHEDULER
Clear all, jobs and triggers.
-
MODELANDPROJECT_SUBMIT
public static final int MODELANDPROJECT_SUBMIT
Submit a model or a project.
-
GET_LIST_FOR_MODELER
public static final int GET_LIST_FOR_MODELER
Get a list (project list and model list)
-
GETLOGLIST_FOR_JOB
public static final int GETLOGLIST_FOR_JOB
Get executing jobs and executing records.
-
JOBSTART_INTIME
public static final int JOBSTART_INTIME
Start jobs in time.
-
GETLOG_DETAIL
public static final int GETLOG_DETAIL
Get log in details.
-
VALIDATION_NAME
public static final int VALIDATION_NAME
Name validation, including new task name and task group name.
-
GET_PTOJECTLIST
public static final int GET_PTOJECTLIST
Get project file list.
-
GET_PTOJECTCONTENT
public static final int GET_PTOJECTCONTENT
Get project file information.
-
GET_DATALIST
public static final int GET_DATALIST
Get all data published by server.
-
LOGIN
public static final int LOGIN
Log in.
-
MODIFY_TRIGGERTIME
public static final int MODIFY_TRIGGERTIME
Modify the job trigger.
-
GETJOBS_LINKEDMODELNAME
public static final int GETJOBS_LINKEDMODELNAME
Get the jobs related with specified model.
-
-
Method Detail
-
getInstance
public static SchedulerHandleManager getInstance()
Get the instance of the scheduler. Return the instance of the scheduler.
-
createOperateAction
public ISchedulerAction createOperateAction(int type)
Create operaton action according to type.- Parameters:
type- operation type. type value is constant.- Returns:
- Specific operation.
-
-