public class BackendVariable
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
BackendVariable(com.uc4.util.XMLDocument doc) |
Modifier and Type | Method and Description |
---|---|
void |
addUnixCommand(BackendCommand unixCommand)
Adds a new
BackendCommand to the Unix commands. |
void |
addWindowsCommand(BackendCommand winCommand)
Adds a new
BackendCommand to the Windows commands. |
UC4HostName |
getHost()
Returns the name of the Host.
|
UC4ObjectName |
getLogin()
Returns the name of the LOGIN object.
|
java.lang.String |
getResultFormat()
Returns the result format.
|
boolean |
isApplyUserHost()
Returns
true if the host name from the user settings should be applied. |
boolean |
isApplyUserLogin()
Returns
true if the LOGIN object from the settings of the currently logged on
user should be used. |
void |
setApplyUserHost(boolean applyUserHost)
Sets or clears the check box "Apply User's Host" in the User interface.
|
void |
setApplyUserLogin(boolean applyUserLogin)
Sets or clears the check box "Apply User's Login" in the User interface.
|
void |
setHost(UC4HostName host)
Sets the Name of the host for the file list.
|
void |
setLogin(UC4ObjectName login)
Sets the name of the LOGIN object.
|
void |
setResultFormat(java.lang.String resultFormat)
Sets the result format.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element parent) |
java.util.Iterator<BackendCommand> |
unixCommandsIterator()
Returns an iterator over Unix
BackendCommand . |
int |
unixCommandsSize()
Returns the number of Unix Commands entries.
|
java.util.Iterator<BackendCommand> |
windowsCommandsIterator()
Returns an iterator over Windows
BackendCommand . |
int |
windowsCommandsSize()
Returns the number of Windows Commands entries.
|
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element parent)
public UC4HostName getHost()
UC4HostName
instance.public void setHost(UC4HostName host)
null
is passed the field Host will not be set.host
- Name of the hostpublic UC4ObjectName getLogin()
UC4ObjectName
instance.public void setLogin(UC4ObjectName login)
null
is passed the
field will not be set.login
- Name of the LOGIN objectpublic boolean isApplyUserHost()
true
if the host name from the user settings should be applied.public void setApplyUserHost(boolean applyUserHost)
applyUserHost
- if true
the host name from the user settings will be used.public boolean isApplyUserLogin()
true
if the LOGIN object from the settings of the currently logged on
user should be used.public void setApplyUserLogin(boolean applyUserLogin)
applyUserLogin
- if true
the login name from the user settings will be used.public java.lang.String getResultFormat()
public void setResultFormat(java.lang.String resultFormat)
resultFormat
- String which contains the result format.public int windowsCommandsSize()
public int unixCommandsSize()
public java.util.Iterator<BackendCommand> windowsCommandsIterator()
BackendCommand
.public java.util.Iterator<BackendCommand> unixCommandsIterator()
BackendCommand
.public void addWindowsCommand(BackendCommand winCommand)
BackendCommand
to the Windows commands.winCommand
- BackendCommand
with contains the Windows command for the backend variable.public void addUnixCommand(BackendCommand unixCommand)
BackendCommand
to the Unix commands.unixCommand
- BackendCommand
with contains the Windows command for the backend variable.