public class BackendVariable extends Object
| 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.
|
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(String resultFormat)
Sets the result format.
|
Iterator<BackendCommand> |
unixCommandsIterator()
Returns an iterator over Unix
BackendCommand. |
int |
unixCommandsSize()
Returns the number of Unix Commands entries.
|
Iterator<BackendCommand> |
windowsCommandsIterator()
Returns an iterator over Windows
BackendCommand. |
int |
windowsCommandsSize()
Returns the number of Windows Commands entries.
|
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 String getResultFormat()
public void setResultFormat(String resultFormat)
resultFormat - String which contains the result format.public int windowsCommandsSize()
public int unixCommandsSize()
public Iterator<BackendCommand> windowsCommandsIterator()
BackendCommand.public 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.Copyright © 2021. All rights reserved.