|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.CommonActivatorsType
org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.ResourceActivatorsType
public class ResourceActivatorsType
A set of activators that must evaluate to true for the resource-level extension to be active. In addition to the activators common to global and resource-level activatation, several more can be evaluated against the the resource in context. Facet Activators ensure the specified facet is implemented by the resource type of the resource in context. Resource-permission activators ensure the user has the specified permission on the resource in context. Trait Activators ensure that the specified trait value satisfies the specified pattern for the resource in context. Resource-type Activators can be used if the extension is active for one or more different resource types. In this situation resource-permission and trait activators can be set in a fine-grained way, differing for each resource type, if necessary.
Java class for ResourceActivatorsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResourceActivatorsType">
<complexContent>
<extension base="{urn:xmlns:rhq-serverplugin.perspective}CommonActivatorsType">
<choice>
<sequence>
<element name="facet" type="{urn:xmlns:rhq-serverplugin.perspective}FacetActivatorType" maxOccurs="unbounded"/>
<element name="resource-permission" type="{urn:xmlns:rhq-serverplugin.perspective}ResourcePermissionActivatorType" maxOccurs="unbounded" minOccurs="0"/>
<element name="trait" type="{urn:xmlns:rhq-serverplugin.perspective}TraitActivatorType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<element name="resource-type" type="{urn:xmlns:rhq-serverplugin.perspective}InventoryActivatorType" maxOccurs="unbounded" minOccurs="0"/>
</choice>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<FacetActivatorType> |
facet
|
protected List<ResourcePermissionActivatorType> |
resourcePermission
|
protected List<InventoryActivatorType> |
resourceType
|
protected List<TraitActivatorType> |
trait
|
| Fields inherited from class org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.CommonActivatorsType |
|---|
debugMode, globalPermission, licenseFeature, superuser |
| Constructor Summary | |
|---|---|
ResourceActivatorsType()
|
|
| Method Summary | |
|---|---|
List<FacetActivatorType> |
getFacet()
Gets the value of the facet property. |
List<ResourcePermissionActivatorType> |
getResourcePermission()
Gets the value of the resourcePermission property. |
List<InventoryActivatorType> |
getResourceType()
Gets the value of the resourceType property. |
List<TraitActivatorType> |
getTrait()
Gets the value of the trait property. |
| Methods inherited from class org.rhq.enterprise.server.xmlschema.generated.serverplugin.perspective.CommonActivatorsType |
|---|
getDebugMode, getGlobalPermission, getLicenseFeature, getSuperuser, setDebugMode, setSuperuser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<FacetActivatorType> facet
protected List<ResourcePermissionActivatorType> resourcePermission
protected List<TraitActivatorType> trait
protected List<InventoryActivatorType> resourceType
| Constructor Detail |
|---|
public ResourceActivatorsType()
| Method Detail |
|---|
public List<FacetActivatorType> getFacet()
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 facet property.
For example, to add a new item, do as follows:
getFacet().add(newItem);
Objects of the following type(s) are allowed in the list
FacetActivatorType
public List<ResourcePermissionActivatorType> getResourcePermission()
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 resourcePermission property.
For example, to add a new item, do as follows:
getResourcePermission().add(newItem);
Objects of the following type(s) are allowed in the list
ResourcePermissionActivatorType
public List<TraitActivatorType> getTrait()
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 trait property.
For example, to add a new item, do as follows:
getTrait().add(newItem);
Objects of the following type(s) are allowed in the list
TraitActivatorType
public List<InventoryActivatorType> getResourceType()
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 resourceType property.
For example, to add a new item, do as follows:
getResourceType().add(newItem);
Objects of the following type(s) are allowed in the list
InventoryActivatorType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||