Class ServerJob
java.lang.Object
com.priint.pubserver.plannerapi.resource.PlannerApiResource
com.priint.pubserver.plannerapi.resource.ServerJob
- All Implemented Interfaces:
Serializable
Class representing a server job in Planner REST Service.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServerJob(String name, String type, String loginName, String dataBaseName, boolean cycle, String documentPath, String scriptID, String scriptName, boolean parallel, String documentID, Date datetimeShedule, String jndiName, String UID, List<String> selectionList, List<String> documentsList, String qName, String documentName, String documentLabel, String currentWokerJobLoginName, boolean stoped, String workerStatus, int priority) -
Method Summary
Modifier and TypeMethodDescriptionlogin name of current worker of the ServerJobgetCycle()is ServerJob cyclicaldataBaseName of the ServerJobraw Datetime Shedule of the ServerJobdocument ID of the ServerJobdocument label of the ServerJobdocument name of the ServerJobdocumentPath of the ServerJobdocuments list of the ServerJobjndi name of the ServerJobgetLinks()links of the ServerJobloginName of the ServerJobgetName()name of the ServerJobIf true the Server Job can be run parallelyintpriority of the ServerJobgetqName()queue name of the ServerJobscriptID of the ServerJobscript name of the ServerJobselection list of the ServerJobflag to determine if ServerJob is stoppedgetType()type of the ServerJobgetUID()UID of server jobworkerStatus of the ServerJobvoidsetCurrentWokerJobLoginName(String currentWokerJobLoginName) voidvoidsetDataBaseName(String dataBaseName) voidsetDatetimeShedule(Date datetimeShedule) voidsetDocumentID(String documentID) voidsetDocumentLabel(String documentLabel) voidsetDocumentName(String documentName) voidsetDocumentPath(String documentPath) voidsetDocumentsList(List<String> documentsList) voidsetJndiName(String jndiName) voidsetLoginName(String loginName) voidvoidsetParallel(Boolean parallel) voidsetPriority(int priority) voidvoidsetScriptID(String scriptID) voidsetScriptName(String scriptName) voidsetSelectionList(List<String> selectionList) voidvoidvoidvoidsetWorkerStatus(String workerStatus) Methods inherited from class com.priint.pubserver.plannerapi.resource.PlannerApiResource
getStatuscode, getStatusmessage, setStatuscode, setStatusmessage
-
Constructor Details
-
ServerJob
public ServerJob() -
ServerJob
public ServerJob(String name, String type, String loginName, String dataBaseName, boolean cycle, String documentPath, String scriptID, String scriptName, boolean parallel, String documentID, Date datetimeShedule, String jndiName, String UID, List<String> selectionList, List<String> documentsList, String qName, String documentName, String documentLabel, String currentWokerJobLoginName, boolean stoped, String workerStatus, int priority)
-
-
Method Details
-
getName
name of the ServerJob -
setName
-
getType
type of the ServerJob -
setType
-
getLoginName
loginName of the ServerJob -
setLoginName
-
getDataBaseName
dataBaseName of the ServerJob -
setDataBaseName
-
getCycle
is ServerJob cyclical -
setCycle
-
getDocumentPath
documentPath of the ServerJob -
setDocumentPath
-
getScriptID
scriptID of the ServerJob -
setScriptID
-
getScriptName
script name of the ServerJob -
setScriptName
-
getParallel
If true the Server Job can be run parallely -
setParallel
-
getDocumentID
document ID of the ServerJob -
setDocumentID
-
getDatetimeShedule
raw Datetime Shedule of the ServerJob -
setDatetimeShedule
-
getJndiName
jndi name of the ServerJob -
setJndiName
-
getUID
UID of server job -
setUID
-
getSelectionList
selection list of the ServerJob -
setSelectionList
-
getDocumentsList
documents list of the ServerJob -
setDocumentsList
-
getqName
queue name of the ServerJob -
setqName
-
getDocumentName
document name of the ServerJob -
setDocumentName
-
getDocumentLabel
document label of the ServerJob -
setDocumentLabel
-
getCurrentWokerJobLoginName
login name of current worker of the ServerJob -
setCurrentWokerJobLoginName
-
getStoped
flag to determine if ServerJob is stopped -
setStoped
-
getWorkerStatus
workerStatus of the ServerJob -
setWorkerStatus
-
getLinks
links of the ServerJob -
getPriority
public int getPriority()priority of the ServerJob -
setPriority
public void setPriority(int priority)
-