Package com.uc4.api.objects
Class Group
java.lang.Object
com.uc4.api.objects.UC4Object
com.uc4.api.objects.Group
- All Implemented Interfaces:
LifecycleSaveAware
This class represents a UC4 JOBG object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled after an object is saved.Deprecated.use attributes.getChildrenQueue of this group insteadintDeprecated.use attributes.maxParallel of this group insteadReturns the content of the "Process" tab.getQueue()Deprecated.use attributes.getQueue of this group insteadDeprecated.use attributes.getTimezone of this group insteadheader()Returns the header data of this object.booleanReturnstrueif this Object can be executed.booleanDeprecated.use attributes.isGenerateAtRuntime of this group insteadprotected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session) rollback()This method provides access to the rollback tab of an executable object.runtime()Returns runtime information of this job.voidsetChildrenQueue(UC4ObjectName childrenQueue) Deprecated.use attributes.setChildrenQueue of this group insteadvoidsetGenerateAtRuntime(boolean value) Deprecated.use attributes.setGenerateAtRuntime of this group insteadvoidsetMaxParallel(int maxParallel) Deprecated.use attributes.maxParallel().setParallelTask of this group insteadvoidsetProcess(String script) Sets the content of the "Process" tab.voidsetQueue(UC4ObjectName queue) Deprecated.use attributes.setQueue of this group insteadvoidsetTimezone(UC4TimezoneName timezone) Deprecated.use attributes.setTimezone of this group insteadprotected voidstoreContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) syncs()Returns aSyncListobject which contains sync conditions of this object.values()Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
-
Constructor Details
-
Group
public Group()
-
-
Method Details
-
loadContent
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) -
rollback
This method provides access to the rollback tab of an executable object.- Returns:
- Rollback settings
-
getChildrenQueue
Deprecated.use attributes.getChildrenQueue of this group insteadReturns the name of the Queue Object for children of this Group.- Returns:
- Name of the Queue or
nullif *OWN has been set.
-
setChildrenQueue
Deprecated.use attributes.setChildrenQueue of this group insteadSets the name of the Queue Object for children of this Group.- Parameters:
childrenQueue- Name of the Queue (can be empty) ornullfor *OWN
-
getQueue
Deprecated.use attributes.getQueue of this group insteadReturns the name of the Queue Object which is used to execute this Group.- Returns:
- Name of the Queue
-
setQueue
Deprecated.use attributes.setQueue of this group insteadSets the name of the Queue Object in which this Group should run.- Parameters:
queue- Name of the Queue
-
getTimezone
Deprecated.use attributes.getTimezone of this group insteadReturns the TimeZone that is to be used.- Returns:
- TimeZone
-
setTimezone
Deprecated.use attributes.setTimezone of this group insteadSets the TimeZone for this job.- Parameters:
timezone- TimeZone
-
isGenerateAtRuntime
Deprecated.use attributes.isGenerateAtRuntime of this group insteadReturnstrueif the Job should not be generated at activation time but rather at runtime.- Returns:
trueif the Generate at runtime check box is selected
-
setGenerateAtRuntime
Deprecated.use attributes.setGenerateAtRuntime of this group insteadSets or clears the Generate at runtime check box. ifvalueistruethe check box is set.- Parameters:
value- Generate at runtime
-
getMaxParallel
Deprecated.use attributes.maxParallel of this group insteadReturns the maximum number of executable objects which are allowed to run simultaneously in a Group. 0 to 999 tasks are allowed.- Returns:
- Max. parallel tasks
-
setMaxParallel
Deprecated.use attributes.maxParallel().setParallelTask of this group insteadSpecify the maximum number of executable objects which are allowed to run simultaneously in a Group. 0 to 999 tasks are allowed.- Parameters:
maxParallel- Integer between 0 and 999
-
values
- Returns:
- Variables of this object
-
syncs
Returns aSyncListobject which contains sync conditions of this object.- Returns:
- sync conditions
-
header
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
attributes
- Returns:
- "Attributes" tab of this group
-
runtime
Returns runtime information of this job. This corresponds to the "Runtime" tab in the dialog client.- Returns:
- Runtime information
-
getProcess
Returns the content of the "Process" tab.- Returns:
- JCL
-
setProcess
Sets the content of the "Process" tab.- Parameters:
script- Script
-
isExecutable
public boolean isExecutable()Description copied from class:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
isExecutablein classUC4Object- Returns:
- true if the Object can be executed, false if not.
-
afterSaveObject
public void afterSaveObject()Description copied from interface:LifecycleSaveAwareCalled after an object is saved.- Specified by:
afterSaveObjectin interfaceLifecycleSaveAware
-