Interface Capability
- All Superinterfaces:
Feature
- All Known Implementing Classes:
RuntimeCapability
Basic description of a capability.
- Author:
- Tomaz Cerar (c) 2015 Red Hat Inc.
-
Method Summary
Modifier and TypeMethodDescriptiongetDynamicName(String dynamicNameElement) Gets the full name of a capability, including a dynamic elementgetDynamicName(PathAddress address) getName()Gets the basic name of the capability.Gets the names of other capabilities required by this capability.booleanGets whether this capability is a dynamically named one, whose runtime variants will have a dynamic element added to the base name provided bygetName().Methods inherited from interface org.jboss.as.controller.Feature
getStability
-
Method Details
-
getName
String getName()Gets the basic name of the capability. IfisDynamicallyNamed()returnstruethis will be the basic name of the capability, not including any dynamic portions.- Returns:
- the name. Will not be
null - See Also:
-
getRequirements
Gets the names of other capabilities required by this capability. These are static requirements.- Returns:
- the capability names. Will not be
nullbut may be empty.
-
isDynamicallyNamed
boolean isDynamicallyNamed()Gets whether this capability is a dynamically named one, whose runtime variants will have a dynamic element added to the base name provided bygetName().- Returns:
trueif this capability is dynamically named
-
getDynamicName
Gets the full name of a capability, including a dynamic element- Parameters:
dynamicNameElement- the dynamic portion of the name. Cannot benull- Returns:
- the full capability name
- Throws:
IllegalStateException- ifisDynamicallyNamed()returnsfalse
-
getDynamicName
-