public class QueueManagerAttributes
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
getConsumption() |
UC4ObjectName |
getElseExecute()
Returns the object name of the object that is executed when a task ends
with a Return Code greater than the max expected return code.
|
ExtendedReports |
getExtendedReports()
Returns the setting for extended reports.
|
UC4HostName |
getHost()
Returns the name of the Agent for this job.
|
java.lang.String |
getHostType()
Method to fetch the host type.
|
java.lang.String |
getIntAccount()
Returns the internal account assigned to this Job.
|
int |
getMaxParallel() |
int |
getPriority()
Priority with which this Job should be executed in the Automation Engine.
|
UC4ObjectName |
getQueue()
Returns the Queue Object.
|
long |
getReturnCode()
Returns the Max Expected Return Code.
|
UC4TimezoneName |
getTimezone()
Returns the TimeZone that is to be used.
|
boolean |
isAutoTermination()
Returns
true if the JOBQ task should end when empty. |
boolean |
isFlatFiltering()
Returns the filter configuration.
|
boolean |
isGenerateAtRuntime()
Returns
true if the Job should not be generated at activation time but rather at runtime. |
boolean |
isReportsToDB() |
boolean |
isStartJobs() |
void |
setAutoTermination(boolean autoTermination)
The QueueManager object ends automatically when there are no
more non-UC4 operations which correspond to the specified filter criteria.
|
void |
setConsumption(int consumption)
Sets the consumption value for this Job.
|
void |
setElseExecute(UC4ObjectName elseExecute)
Sets the object that is executed when a task has a Return Code greater or
equal the than the max expected return code.
|
void |
setExtendedReports(ExtendedReports extendedReports)
Sets the option for extended reports.
|
void |
setFlatFiltering(boolean flatFiltering)
Sets the configuration for monitored and controlled operations.
|
void |
setGenerateAtRuntime(boolean value)
Sets or clears the Generate at runtime check box.
|
void |
setHost(UC4HostName host)
Sets the Agent or AgentGroup for this Job.
|
void |
setIntAccount(java.lang.String intAccount)
Sets the internal account, max.
|
void |
setMaxParallel(int maxParallel) |
void |
setPriority(int priority)
Priority with which this Job should be executed in the Automation Engine.
|
void |
setQueue(UC4ObjectName queue)
Sets the Queue that will be used when this the Automation Engine object is executed.
|
void |
setReportsToDB(boolean reportsToDB)
Sets a flag to indicate if reports should be stored in the the Automation Engine Database.
|
void |
setReturnCode(long returnCode)
Sets the Maximum Expected Return Code.
|
void |
setStartJobs(boolean startJobs)
If startJobs is
true , Jobs are started by the Server
in case they are not running. |
void |
setTimezone(UC4TimezoneName timezone)
Sets the TimeZone for this job.
|
public UC4ObjectName getQueue()
public void setQueue(UC4ObjectName queue)
queue
- Name of the Queue Objectpublic boolean isReportsToDB()
public void setReportsToDB(boolean reportsToDB)
reportsToDB
- True if reports of ended Jobs should be transfered to the databasepublic boolean isFlatFiltering()
public void setFlatFiltering(boolean flatFiltering)
flatFiltering
- Filter configuration, true if flat filtering should be used, false
for hierarchical filtering.public boolean isAutoTermination()
true
if the JOBQ task should end when empty.public void setAutoTermination(boolean autoTermination)
autoTermination
- true if the JOBQ task should end when emptypublic boolean isStartJobs()
public void setStartJobs(boolean startJobs)
true
, Jobs are started by the Server
in case they are not running.startJobs
- true to start Jobs, false for monitoring onlypublic boolean isGenerateAtRuntime()
true
if the Job should not be generated at activation time but rather at runtime.true
if the Generate at runtime check box is selectedpublic void setGenerateAtRuntime(boolean value)
value
is true
the check box is set.value
- Generate at runtimepublic UC4HostName getHost()
public void setHost(UC4HostName host)
host
- Hostpublic java.lang.String getIntAccount()
public int getConsumption()
public void setConsumption(int consumption)
consumption
must be between 0 and 100000.consumption
- Consumptionpublic void setIntAccount(java.lang.String intAccount)
intAccount
- internal accountpublic int getPriority()
public void setPriority(int priority)
priority
- Prioritypublic int getMaxParallel()
public void setMaxParallel(int maxParallel)
maxParallel
- Maximum number of parallel tasks, 0 means no tasks will start at all.public UC4TimezoneName getTimezone()
public void setTimezone(UC4TimezoneName timezone)
timezone
- TimeZonepublic ExtendedReports getExtendedReports()
public void setExtendedReports(ExtendedReports extendedReports)
extendedReports
- Extended reports.public java.lang.String getHostType()
public long getReturnCode()
public void setReturnCode(long returnCode)
returnCode
- Maximum Expected Return Codepublic UC4ObjectName getElseExecute()
public void setElseExecute(UC4ObjectName elseExecute)
elseExecute
- Name of the UC4 object which should be executed