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 TypeMethodDescriptionvoid
Called after an object is saved.Deprecated.use attributes.getChildrenQueue of this group insteadint
Deprecated.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.boolean
Returnstrue
if this Object can be executed.boolean
Deprecated.use attributes.isGenerateAtRuntime of this group insteadprotected void
loadContent
(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.void
setChildrenQueue
(UC4ObjectName childrenQueue) Deprecated.use attributes.setChildrenQueue of this group insteadvoid
setGenerateAtRuntime
(boolean value) Deprecated.use attributes.setGenerateAtRuntime of this group insteadvoid
setMaxParallel
(int maxParallel) Deprecated.use attributes.maxParallel().setParallelTask of this group insteadvoid
setProcess
(String script) Sets the content of the "Process" tab.void
setQueue
(UC4ObjectName queue) Deprecated.use attributes.setQueue of this group insteadvoid
setTimezone
(UC4TimezoneName timezone) Deprecated.use attributes.setTimezone of this group insteadprotected void
storeContent
(com.uc4.util.XMLDocument doc, Element objectElement, ConnectionAttributes sessionInfo) syncs()
Returns aSyncList
object 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
null
if *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) ornull
for *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 insteadReturnstrue
if the Job should not be generated at activation time but rather at runtime.- Returns:
true
if 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. ifvalue
istrue
the 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 aSyncList
object 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:UC4Object
Returnstrue
if this Object can be executed.- Specified by:
isExecutable
in classUC4Object
- Returns:
- true if the Object can be executed, false if not.
-
afterSaveObject
public void afterSaveObject()Description copied from interface:LifecycleSaveAware
Called after an object is saved.- Specified by:
afterSaveObject
in interfaceLifecycleSaveAware
-