Package com.uc4.api.objects
Class FileTransferAttributes
- java.lang.Object
-
- com.uc4.api.objects.FileTransferAttributes
-
public class FileTransferAttributes extends java.lang.ObjectFiletransfer attributes.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFileTransferAttributes(com.uc4.util.XMLDocument doc)Constructs aJobAttributesusing the specified XML document.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConsumption()DeactivateConditiongetDeactivate()Returns the deactivate condition for this Job.ExtendedReportsgetExtendedReports()Returns the setting for extended reports.java.lang.StringgetIntAccount()Returns the internal account assigned to this Job.intgetPriority()Priority with which this Job should be executed in the Automation Engine.UC4ObjectNamegetQueue()Returns the name of the Queue Object.UC4ObjectNamegetStartType()Returns the start type of this Job.UC4TimezoneNamegetTimezone()Returns the TimeZone that is to be used.booleanisAttributeDialog()Returnstrueif the attribut dialog should be displayed when the job is activated.booleanisGenerateAtRuntime()Returnstrueif the Job should not be generated at activation time but rather at runtime.MaxParallelmaxParallel()Returns settings for parallel tasks.voidsetAttributeDialog(boolean value)Sets or clears the attribut dialog check box.voidsetConsumption(int consumption)Sets the consumption value for this Job.voidsetDeactivate(DeactivateCondition deactivate)Sets the deactivate condition for this Job.voidsetExtendedReports(ExtendedReports extendedReports)Sets the option for extended reports.voidsetGenerateAtRuntime(boolean value)Sets or clears the Generate at runtime check box.voidsetIntAccount(java.lang.String intAccount)Sets the internal account, max.voidsetPriority(int priority)Priority with which this Job should be executed in the Automation Engine.voidsetQueue(UC4ObjectName queue)Sets the name of the Queue.voidsetStartType(UC4ObjectName startType)Sets the start type of this Job.voidsetTimezone(UC4TimezoneName timezone)Sets the TimeZone for this job.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)Stores the content of this job under therequestelement.
-
-
-
Method Detail
-
getDeactivate
public DeactivateCondition getDeactivate()
Returns the deactivate condition for this Job.- Returns:
- Deactivate condition
-
setDeactivate
public void setDeactivate(DeactivateCondition deactivate)
Sets the deactivate condition for this Job.- Parameters:
deactivate- Deactivate condition
-
getIntAccount
public java.lang.String getIntAccount()
Returns the internal account assigned to this Job.- Returns:
- Internal account
-
getConsumption
public int getConsumption()
- Returns:
- The consumption value which is set for this Job.
-
setConsumption
public void setConsumption(int consumption)
Sets the consumption value for this Job. The parameterconsumptionmust be between 0 and 100000.- Parameters:
consumption- Consumption
-
getStartType
public UC4ObjectName getStartType()
Returns the start type of this Job.- Returns:
- Start type
-
setIntAccount
public void setIntAccount(java.lang.String intAccount)
Sets the internal account, max. 20 characters.- Parameters:
intAccount- internal account
-
setStartType
public void setStartType(UC4ObjectName startType)
Sets the start type of this Job.- Parameters:
startType- Start type
-
isAttributeDialog
public boolean isAttributeDialog()
Returnstrueif the attribut dialog should be displayed when the job is activated. The attribut dialog is sent as a READ form. TheINotificationListenercan be used to listen for READ forms.- Returns:
trueif the attribut dialog should be displayed
-
isGenerateAtRuntime
public boolean isGenerateAtRuntime()
Returnstrueif the Job should not be generated at activation time but rather at runtime.- Returns:
trueif the Generate at runtime check box is selected
-
setAttributeDialog
public void setAttributeDialog(boolean value)
Sets or clears the attribut dialog check box. ifvalueistruethe check box is set.- Parameters:
value- boolean value indicating if the attribut dialog should be shown
-
maxParallel
public MaxParallel maxParallel()
Returns settings for parallel tasks.- Returns:
- parallel task settings
-
setGenerateAtRuntime
public void setGenerateAtRuntime(boolean value)
Sets or clears the Generate at runtime check box. ifvalueistruethe check box is set.- Parameters:
value- Generate at runtime
-
getPriority
public int getPriority()
Priority with which this Job should be executed in the Automation Engine. Permitted values: 0 to 255
Default: 0
1 stands for highest, 255 for lowest priority. If 0 is chosen, the priority defined in the UC_CLIENT_SETTINGS variables with TASK_PRIORITY for local clients is used. If no default priority is set or if no variable is present in the local clients, then 200 is assigned as the valid priority.- Returns:
- priority
-
setPriority
public void setPriority(int priority)
Priority with which this Job should be executed in the Automation Engine. Permitted values: 0 to 255
Default: 0
1 stands for highest, 255 for lowest priority. If 0 is chosen, the priority defined in the UC_CLIENT_SETTINGS variables with TASK_PRIORITY for local clients is used. If no default priority is set or if no variable is present in the local clients, then 200 is assigned as the valid priority.- Parameters:
priority- Priority
-
getTimezone
public UC4TimezoneName getTimezone()
Returns the TimeZone that is to be used.- Returns:
- TimeZone
-
getQueue
public UC4ObjectName getQueue()
Returns the name of the Queue Object.- Returns:
- Queue
-
setQueue
public void setQueue(UC4ObjectName queue)
Sets the name of the Queue.- Parameters:
queue- Queue
-
setTimezone
public void setTimezone(UC4TimezoneName timezone)
Sets the TimeZone for this job.- Parameters:
timezone- TimeZone
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)Stores the content of this job under therequestelement.- Parameters:
doc- XML documentrequest- the newly created elements are children of therequestelement
-
getExtendedReports
public ExtendedReports getExtendedReports()
Returns the setting for extended reports.- Returns:
- Extended reports.
-
setExtendedReports
public void setExtendedReports(ExtendedReports extendedReports)
Sets the option for extended reports.- Parameters:
extendedReports- Extended reports.
-
-