Package com.hp.lft.sdk.oracle
Class NotificationDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.oracle.UiObjectBaseDescription
com.hp.lft.sdk.oracle.NotificationDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
The description of an Oracle error or message window.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the NotificationDescription class using the builder pattern.protected static classHelper class for NotificationDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the NotificationDescription class.protectedInitializes a new instance of the NotificationDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the Oracle class hierarchy of the object's Oracle class.Returns the text of the notification.getTitle()Returns the window title.getType()Returns the type of notification.Indicates whether the object is enable.voidsetClassPath(StringProperty classPath) Sets the Oracle class hierarchy of the object's Oracle class.voidsetClassPath(String classPath) Sets the Oracle class hierarchy of the object's Oracle class.voidsetEnabled(Boolean isEnabled) Sets whether the object is enable.voidsetMessage(StringProperty message) Sets the text of the notification.voidsetMessage(String message) Sets the text of the notification.voidsetTitle(StringProperty title) Sets the window title.voidSets the window title.voidsetType(NotificationType type) Sets the type of notification.Methods inherited from class com.hp.lft.sdk.oracle.UiObjectBaseDescription
getAbsoluteLocation, getLocation, getObjectType, getSize, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setLocation, setLocation, setLocation, setObjectType, setObjectType, setSize, setSize, setSizeMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
NotificationDescription
public NotificationDescription()Initializes a new instance of the NotificationDescription class. -
NotificationDescription
Initializes a new instance of the NotificationDescription class using the Builder pattern.- Parameters:
init- the Builder pattern.
-
-
Method Details
-
setType
Sets the type of notification. Possible values:NotificationType- Parameters:
type- the type of notification. Possible values:NotificationType
-
getType
Returns the type of notification. Possible values:NotificationType- Returns:
- the type of notification. Possible values:
NotificationType
-
setTitle
Sets the window title.- Parameters:
title- the window title.
-
setTitle
Sets the window title.- Parameters:
title- aStringPropertyorRegExpProperty.
-
getTitle
Returns the window title.- Returns:
- the window title.
-
setMessage
Sets the text of the notification.- Parameters:
message- the text of the displayed message.
-
setMessage
Sets the text of the notification.- Parameters:
message- aStringPropertyorRegExpProperty.
-
getMessage
Returns the text of the notification.- Returns:
- the text of the notification.
-
setClassPath
Sets the Oracle class hierarchy of the object's Oracle class.- Parameters:
classPath- the Oracle class hierarchy of the object's Oracle class.
-
setClassPath
Sets the Oracle class hierarchy of the object's Oracle class.- Parameters:
classPath- aStringPropertyorRegExpProperty.
-
getClassPath
Returns the Oracle class hierarchy of the object's Oracle class.- Returns:
- the Oracle class hierarchy of the object's Oracle class.
-
setEnabled
Sets whether the object is enable.- Parameters:
isEnabled- true to set as enabled.
-
isEnabled
Indicates whether the object is enable.- Returns:
- true if enabled.
-