public interface WLDFActionBean extends WLDFNotificationBean
WLDF action configuration bean. This is a configuration point for action extensions developed outside of WebLogic.
A WLDF action extension is an action that is managed by, but not owned by, to WLDF. It must
have a "type" associated with it, which must be provided to the
WLDFWatchNotificationBean.createAction(String, String)
method when an instance of this object is created. An instance of a WLDFActionBean
defines a single instance configuration of an action extension, which can be referenced
from WLDFWatchBean instances like any other action/notification type.
It acts as a container of an action properties, each property being a name/value pair. An action can have simple properties of intrinsic Java types (String, int, float, etc), encrypted properties, Map properties, and array properties.
Map
and array properties can not contain nested collections or
complex objects; that is, the leaf values of those objects must be simple values
represented as String values.
WLDF will map these properties to the proper configuration points on the target action instance. Each action type will have different configuration points, so consult the documentation for those actions to see what the valid configuration properties are for that action type.
Modifier and Type | Method and Description |
---|---|
WLDFArrayPropertyBean |
createArrayProperty(java.lang.String name)
Creates a named array property bean.
|
WLDFEncryptedPropertyBean |
createEncryptedProperty(java.lang.String name)
Creates an encrypted WLDFConfigurationPropertyBean object on the container
|
WLDFConfigurationPropertiesBean |
createMapProperty(java.lang.String name)
Creates a named map property object, similar to a
nested map of values for the action configuration.
|
WLDFPropertyBean |
createProperty(java.lang.String name)
Creates an unencrypted WLDFConfigurationPropertyBean object on the container
|
void |
destroyArrayProperty(WLDFArrayPropertyBean property)
Destroys the array property bean.
|
void |
destroyEncryptedProperty(WLDFEncryptedPropertyBean propertyBean)
Destroys a WLDFConfigurationPropertyBean object on the container
|
void |
destroyMapProperty(WLDFConfigurationPropertiesBean property)
Destroys the child map property.
|
void |
destroyProperty(WLDFPropertyBean propertyBean)
Destroys a WLDFConfigurationPropertyBean object on the container
|
WLDFArrayPropertyBean[] |
getArrayProperties()
Returns all the array properties of the action configuration.
|
WLDFConfigurationPropertyBean[] |
getConfigurationProperties()
Returns the list of all WLDFConfigurationPropertyBean objects that are associated with this
container object.
|
WLDFEncryptedPropertyBean[] |
getEncryptedProperties()
Returns all the encrypted properties.
|
WLDFConfigurationPropertiesBean[] |
getMapProperties()
Returns the map properties of the action configuration.
|
WLDFPropertyBean[] |
getProperties()
Returns all of the simple properties for this configured action.
|
java.lang.String |
getType()
Defines the action type.
|
WLDFArrayPropertyBean |
lookupArrayProperty(java.lang.String name)
Returns the existing array property corresponding to the specified name.
|
WLDFConfigurationPropertyBean |
lookupConfigurationProperty(java.lang.String name)
Looks up a WLDFConfigurationPropertyBean by name.
|
WLDFEncryptedPropertyBean |
lookupEncryptedProperty(java.lang.String name)
Look up WLDFConfigurationPropertyBean.
|
WLDFConfigurationPropertiesBean |
lookupMapProperty(java.lang.String name)
Returns the existing map property corresponding to the specified name.
|
WLDFPropertyBean |
lookupProperty(java.lang.String name)
Look up WLDFConfigurationPropertyBean.
|
void |
setType(java.lang.String type)
Defines the action type.
|
getTimeout, isEnabled, setEnabled, setTimeout
java.lang.String getType()
Defines the action type.
void setType(java.lang.String type)
Defines the action type.
WLDFPropertyBean createProperty(java.lang.String name)
Creates an unencrypted WLDFConfigurationPropertyBean object on the container
name
- of WLDFConfigurationPropertyBeanWLDFPropertyBean[] getProperties()
WLDFPropertyBean lookupProperty(java.lang.String name)
Look up WLDFConfigurationPropertyBean.
name
- The name of WLDFConfigurationPropertyBean to findvoid destroyProperty(WLDFPropertyBean propertyBean)
Destroys a WLDFConfigurationPropertyBean object on the container
propertyBean
- The WLDFConfigurationPropertyBean instance to destroyWLDFEncryptedPropertyBean createEncryptedProperty(java.lang.String name)
Creates an encrypted WLDFConfigurationPropertyBean object on the container
name
- of WLDFConfigurationPropertyBeanWLDFEncryptedPropertyBean[] getEncryptedProperties()
WLDFEncryptedPropertyBean lookupEncryptedProperty(java.lang.String name)
Look up WLDFConfigurationPropertyBean.
name
- The name of WLDFConfigurationPropertyBean to findvoid destroyEncryptedProperty(WLDFEncryptedPropertyBean propertyBean)
Destroys a WLDFConfigurationPropertyBean object on the container
propertyBean
- The WLDFConfigurationPropertyBean instance to destroyWLDFConfigurationPropertiesBean createMapProperty(java.lang.String name)
Creates a named map property object, similar to a nested map of values for the action configuration.
name
- WLDFConfigurationPropertiesBean lookupMapProperty(java.lang.String name)
Returns the existing map property corresponding to the specified name.
name
- WLDFConfigurationPropertiesBean[] getMapProperties()
Returns the map properties of the action configuration.
void destroyMapProperty(WLDFConfigurationPropertiesBean property)
Destroys the child map property.
property
- The map properties bean to destroyWLDFArrayPropertyBean createArrayProperty(java.lang.String name)
Creates a named array property bean.
name
- WLDFArrayPropertyBean[] getArrayProperties()
Returns all the array properties of the action configuration.
WLDFArrayPropertyBean lookupArrayProperty(java.lang.String name)
Returns the existing array property corresponding to the specified name.
name
- void destroyArrayProperty(WLDFArrayPropertyBean property)
Destroys the array property bean.
property
- The array property bean to destroyWLDFConfigurationPropertyBean[] getConfigurationProperties()
Returns the list of all WLDFConfigurationPropertyBean objects that are associated with this container object.
WLDFConfigurationPropertyBean lookupConfigurationProperty(java.lang.String name)
Looks up a WLDFConfigurationPropertyBean by name.
name
- the name of the configuration property being requested