com.sun.enterprise.config.serverbeans
Interface ManagementRules

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

public interface ManagementRules
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

Container for self management rules


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Method Summary
 String getEnabled()
          Gets the value of the enabled property.
 List<ManagementRule> getManagementRule()
          Gets the value of the managementRule property.
 void setEnabled(String value)
          Sets the value of the enabled property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getEnabled

String getEnabled()
Gets the value of the enabled property. Acts as high level switch for disabling all the defined rules. If set to "false" all the configured rules would disabled. If set to "true", enabled state of a particular rule will be decided at that rule level.

Returns:
possible object is String

setEnabled

void setEnabled(String value)
                throws PropertyVetoException
Sets the value of the enabled property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getManagementRule

List<ManagementRule> getManagementRule()
Gets the value of the managementRule property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the managementRule property.

For example, to add a new item, do as follows:

    getManagementRule().add(newItem);
 

Objects of the following type(s) are allowed in the list ManagementRule



Copyright © 2012 GlassFish Community. All Rights Reserved.