public class Client extends UC4Object
Constructor and Description |
---|
Client() |
Modifier and Type | Method and Description |
---|---|
void |
clearSettings()
Removes all client settings .
|
java.lang.String |
getMibInfo()
Returns the MIB Info.
|
int |
getNumberOfSettings()
Returns the number of entries in the UC_CLIENT_SETTINGS variable.
|
java.lang.String |
getSetting(java.lang.String name)
Returns the value of a setting or
null if not found. |
UC4TimezoneName |
getTimezone()
Returns the time zone of this client.
|
Header |
header()
Returns the header data of this object.
|
boolean |
isExecutable()
Returns
true if this Object can be executed. |
boolean |
isMibMonitoring()
Returns the SNMP monitoring setting of this client object.
|
void |
setMibInfo(java.lang.String mibInfo)
Sets the MIB Information of this client object.
|
void |
setMibMonitoring(boolean mibMonitoring)
Sets the SNMP monitoring setting of this client object.
|
void |
setSetting(java.lang.String name,
java.lang.String value)
Adds a new value or changes the value of an existing setting.
|
void |
setTimezone(UC4TimezoneName timezone)
Sets the time zone of this client.
|
java.util.Iterator<java.lang.String> |
settingNames()
Returns an iterator of all setting names.
|
public Header header()
public UC4TimezoneName getTimezone()
Time zone default setting for the current client. This time zone applies for all tasks and their corresponding date/time displays for which no time zone was explicitly defined. If no time zone has been chosen, the Automation Engine's UTC applies client-wide.
public void setTimezone(UC4TimezoneName timezone)
Time zone default setting for the current client. This time zone applies for all tasks and their corresponding date/time displays for which no time zone was explicitly defined. If no time zone has been chosen, the Automation Engine's UTC applies client-wide.
timezone
- Name of the TimeZone objectpublic boolean isMibMonitoring()
public void setMibMonitoring(boolean mibMonitoring)
mibMonitoring
- true if SNMP monitoring is enabledpublic java.lang.String getMibInfo()
public void setMibInfo(java.lang.String mibInfo)
mibInfo
- MIB Infopublic java.lang.String getSetting(java.lang.String name)
null
if not found.name
- Namepublic void setSetting(java.lang.String name, java.lang.String value)
name
- Name of the settingvalue
- Valuepublic void clearSettings()
public int getNumberOfSettings()
public java.util.Iterator<java.lang.String> settingNames()
public boolean isExecutable()
UC4Object
true
if this Object can be executed.isExecutable
in class UC4Object