Package org.jboss.as.controller.access
Class TargetAttribute
- java.lang.Object
-
- org.jboss.as.controller.access.TargetAttribute
-
public final class TargetAttribute extends Object
An attribute of the resource that is the target of an action for which access control is needed.- Author:
- Brian Stansberry (c) 2013 Red Hat Inc.
-
-
Constructor Summary
Constructors Constructor Description TargetAttribute(String attributeName, AttributeAccess attributeAccess, org.jboss.dmr.ModelNode currentValue, TargetResource targetResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessConstraintDefinition>
getAccessConstraints()
AttributeAccess.AccessType
getAccessType()
Get the access type.AttributeDefinition
getAttributeDefinition()
String
getAttributeName()
org.jboss.dmr.ModelNode
getCurrentValue()
Set<AttributeAccess.Flag>
getFlags()
Gets the flags associated with this attribute.HostEffect
getHostEffect()
ServerGroupEffect
getServerGroupEffect()
AttributeAccess.Storage
getStorageType()
Get the storage type.TargetResource
getTargetResource()
-
-
-
Constructor Detail
-
TargetAttribute
public TargetAttribute(String attributeName, AttributeAccess attributeAccess, org.jboss.dmr.ModelNode currentValue, TargetResource targetResource)
-
-
Method Detail
-
getAttributeName
public String getAttributeName()
-
getTargetResource
public TargetResource getTargetResource()
-
getAccessType
public AttributeAccess.AccessType getAccessType()
Get the access type.- Returns:
- the access type
-
getStorageType
public AttributeAccess.Storage getStorageType()
Get the storage type.- Returns:
- the storage type
-
getAttributeDefinition
public AttributeDefinition getAttributeDefinition()
-
getFlags
public Set<AttributeAccess.Flag> getFlags()
Gets the flags associated with this attribute.- Returns:
- the flags. Will not return
null
-
getCurrentValue
public org.jboss.dmr.ModelNode getCurrentValue()
-
getServerGroupEffect
public ServerGroupEffect getServerGroupEffect()
-
getHostEffect
public HostEffect getHostEffect()
-
getAccessConstraints
public List<AccessConstraintDefinition> getAccessConstraints()
-
-