Class ApplicationTypeAccessConstraintDefinition
- java.lang.Object
-
- org.jboss.as.controller.access.management.ApplicationTypeAccessConstraintDefinition
-
- All Implemented Interfaces:
AccessConstraintDefinition
public class ApplicationTypeAccessConstraintDefinition extends Object implements AccessConstraintDefinition
- Author:
- Brian Stansberry (c) 2013 Red Hat Inc.
-
-
Field Summary
Fields Modifier and Type Field Description static ApplicationTypeAccessConstraintDefinition
DEPLOYMENT
static List<AccessConstraintDefinition>
DEPLOYMENT_AS_LIST
-
Constructor Summary
Constructors Constructor Description ApplicationTypeAccessConstraintDefinition(ApplicationTypeConfig applicationTypeConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ApplicationTypeConfig
getApplicationTypeConfig()
ConstraintFactory
getConstraintFactory()
Get the factory to use for creating aConstraint
that implementsString
getDescription(Locale locale)
Gets a text description if this attribute definition for inclusion in read-xxx-description metadata.AccessConstraintKey
getKey()
Gets a unique identifier for thisAccessConstraintDefinition
.org.jboss.dmr.ModelNode
getModelDescriptionDetails(Locale locale)
Get arbitrary descriptive information about the constraint for inclusion in the read-xxx-description metadataString
getName()
Get the name of the constraintString
getSubsystemName()
Gets the name of the subsystem that provides this definition, it is notcore
.String
getType()
Get the type of constraintint
hashCode()
boolean
isCore()
Gets whether the definition is provided by the core management system.List<AccessConstraintDefinition>
wrapAsList()
-
-
-
Field Detail
-
DEPLOYMENT
public static final ApplicationTypeAccessConstraintDefinition DEPLOYMENT
-
DEPLOYMENT_AS_LIST
public static final List<AccessConstraintDefinition> DEPLOYMENT_AS_LIST
-
-
Constructor Detail
-
ApplicationTypeAccessConstraintDefinition
public ApplicationTypeAccessConstraintDefinition(ApplicationTypeConfig applicationTypeConfig)
-
-
Method Detail
-
getModelDescriptionDetails
public org.jboss.dmr.ModelNode getModelDescriptionDetails(Locale locale)
Description copied from interface:AccessConstraintDefinition
Get arbitrary descriptive information about the constraint for inclusion in the read-xxx-description metadata- Specified by:
getModelDescriptionDetails
in interfaceAccessConstraintDefinition
- Parameters:
locale
- locale to use for any internationalized text- Returns:
- an arbitrary description node; can be
null
or undefined
-
getConstraintFactory
public ConstraintFactory getConstraintFactory()
Description copied from interface:AccessConstraintDefinition
Get the factory to use for creating aConstraint
that implements- Specified by:
getConstraintFactory
in interfaceAccessConstraintDefinition
- Returns:
- the factory. Cannot return
null
-
getApplicationTypeConfig
public ApplicationTypeConfig getApplicationTypeConfig()
-
getName
public String getName()
Description copied from interface:AccessConstraintDefinition
Get the name of the constraint- Specified by:
getName
in interfaceAccessConstraintDefinition
- Returns:
- the name
-
getType
public String getType()
Description copied from interface:AccessConstraintDefinition
Get the type of constraint- Specified by:
getType
in interfaceAccessConstraintDefinition
- Returns:
- the type of constraint
-
isCore
public boolean isCore()
Description copied from interface:AccessConstraintDefinition
Gets whether the definition is provided by the core management system.- Specified by:
isCore
in interfaceAccessConstraintDefinition
- Returns:
true
if the definition is provided by the core;false
if it is provided by a subsystem
-
getSubsystemName
public String getSubsystemName()
Description copied from interface:AccessConstraintDefinition
Gets the name of the subsystem that provides this definition, it is notcore
.- Specified by:
getSubsystemName
in interfaceAccessConstraintDefinition
- Returns:
- the subsystem name, or
null
ifAccessConstraintDefinition.isCore()
-
getKey
public AccessConstraintKey getKey()
Description copied from interface:AccessConstraintDefinition
Gets a unique identifier for thisAccessConstraintDefinition
.- Specified by:
getKey
in interfaceAccessConstraintDefinition
- Returns:
- the key. Will not be
null
-
getDescription
public String getDescription(Locale locale)
Description copied from interface:AccessConstraintDefinition
Gets a text description if this attribute definition for inclusion in read-xxx-description metadata.- Specified by:
getDescription
in interfaceAccessConstraintDefinition
- Parameters:
locale
- locale to use to provide internationalized text- Returns:
- the text description, or
null
if none is available
-
wrapAsList
public List<AccessConstraintDefinition> wrapAsList()
-
-