Package com.uc4.api.objects
Class FileListVariable
- java.lang.Object
-
- com.uc4.api.objects.FileListVariable
-
public class FileListVariable extends java.lang.ObjectThis class represents the panel "Variable" of an VARA Object with the source "Filelist".
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFileListVariable(com.uc4.util.XMLDocument doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDirectory()Returns the directory which is used to get a file list.UC4HostNamegetHost()Returns the name of the Host.UC4ObjectNamegetLogin()Returns the name of the LOGIN object.booleanisApplyTaskHost()Returnstrueif the host name from the task settings should be applied.booleanisApplyTaskLogin()Returnstrueif the LOGIN object from the settings of the currently executed task should be used.voidsetApplyTaskHost(boolean applyUserHost)Sets or clears the check box "Apply Task Host" in the User interface.voidsetApplyTaskLogin(boolean applyTaskLogin)Sets or clears the check box "Apply task Login" in the User interface.voidsetDirectory(java.lang.String directory)Sets the directory for the file list.voidsetHost(UC4HostName host)Sets the Name of the host for the file list.voidsetLogin(UC4ObjectName login)Sets the name of the LOGIN object.protected voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element parent)
-
-
-
Method Detail
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element parent)
-
getHost
public UC4HostName getHost()
Returns the name of the Host. If the host is not set the return value is an emptyUC4HostNameinstance.- Returns:
- Name of the host, never null
-
setHost
public void setHost(UC4HostName host)
Sets the Name of the host for the file list. Ifnullis passed the field Host will not be set.- Parameters:
host- Name of the host
-
getLogin
public UC4ObjectName getLogin()
Returns the name of the LOGIN object. If the login is not set the return value is an emptyUC4ObjectNameinstance.- Returns:
- Name of the Login object, never null
-
setLogin
public void setLogin(UC4ObjectName login)
Sets the name of the LOGIN object. Ifnullis passed the field will not be set.- Parameters:
login- Name of the LOGIN object
-
isApplyTaskHost
public boolean isApplyTaskHost()
Returnstrueif the host name from the task settings should be applied.- Returns:
- True if the host should be used which set in the settings of the task.
-
setApplyTaskHost
public void setApplyTaskHost(boolean applyUserHost)
Sets or clears the check box "Apply Task Host" in the User interface.- Parameters:
applyUserHost- iftruethe host name from the task settings will be used.
-
isApplyTaskLogin
public boolean isApplyTaskLogin()
Returnstrueif the LOGIN object from the settings of the currently executed task should be used.- Returns:
- true if task login is used
-
setApplyTaskLogin
public void setApplyTaskLogin(boolean applyTaskLogin)
Sets or clears the check box "Apply task Login" in the User interface.- Parameters:
applyTaskLogin- iftruethe task login should be used
-
getDirectory
public java.lang.String getDirectory()
Returns the directory which is used to get a file list.- Returns:
- Name of the directory
-
setDirectory
public void setDirectory(java.lang.String directory)
Sets the directory for the file list. The maximum length of the parameterdirectoryis 255 characters.- Parameters:
directory- Name of the directory
-
-