public class AttributesSLO
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
AttributesSLO(com.uc4.util.XMLDocument doc)
Constructs a
SLO attributes using the specified XML document |
| Modifier and Type | Method and Description |
|---|---|
Time |
getOperationWindowFrom()
Returns "From" time of operation window.
|
Time |
getOperationWindowTo()
Returns "To" time of operation window.
|
UC4TimezoneName |
getTimezone()
Returns the time zone of this SLO Object.
|
boolean |
isEnableSLOMonitoring()
Checks if SLO is enabled for monitoring.
|
boolean |
isMonitorPermanently()
Checks if monitor mode is set to "Permanently".
|
boolean |
isMonitorRestricted()
Checks if monitor mode is set to restricted.
|
void |
setEnableSLOMonitoring(boolean enableSLOMonitoring)
Sets and enable SLO monitoring.
|
void |
setMonitorPermanently()
Sets monitor mode to "Permanently".
|
void |
setMonitorRestricted()
Sets monitor mode to "Restricted to daily operation window".
|
void |
setOperationWindowFrom(Time operationWindowFrom)
Sets "From" time of operation window.
|
void |
setOperationWindowTo(Time operationWindowTo)
Sets "To" time of operation window.
|
void |
setTimezone(UC4TimezoneName timezone)
Sets the time zone of this SLO Object.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request)
Stores data of this object under the
request element. |
protected AttributesSLO(com.uc4.util.XMLDocument doc)
SLO attributes using the specified XML documentdoc - XML Documentprotected void store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request)
request element.doc - XML Documentrequest - root element, the SLO attributes is stored in children elements of requestpublic boolean isEnableSLOMonitoring()
public void setEnableSLOMonitoring(boolean enableSLOMonitoring)
enableSLOMonitoring - enableSLOMonitoringpublic boolean isMonitorPermanently()
public void setMonitorPermanently()
public boolean isMonitorRestricted()
public void setMonitorRestricted()
public Time getOperationWindowFrom()
public void setOperationWindowFrom(Time operationWindowFrom)
operationWindowFrom - From Time of operation windowpublic Time getOperationWindowTo()
public void setOperationWindowTo(Time operationWindowTo)
operationWindowTo - To Time of operation window.public UC4TimezoneName getTimezone()
This time zone applies for the actual SLO object. If no time zone has been chosen, the Automation Engine's UTC applies client-wide.
public void setTimezone(UC4TimezoneName timezone)
This time zone applies for the actual SLO object. If no time zone has been chosen, the Automation Engine's UTC applies client-wide.
timezone - Name of the TimeZone object