public interface Capability
| Modifier and Type | Method and Description |
|---|---|
String |
getDynamicName(PathAddress address) |
String |
getDynamicName(String dynamicNameElement)
Gets the full name of a capbility, including a dynamic element
|
Set<String> |
getDynamicOptionalRequirements()
Deprecated.
Never returns anything but an empty set and likely will be removed in the next release.
|
Set<String> |
getDynamicRequirements()
Deprecated.
Never returns anything but an empty set and likely will be removed in the next release.
|
String |
getName()
Gets the basic name of the capability.
|
Set<String> |
getOptionalRequirements()
Deprecated.
Never returns anything but an empty set and likely will be removed in the next release.
|
Set<String> |
getRequirements()
Gets the names of other capabilities required by this capability.
|
Set<String> |
getRuntimeOnlyRequirements()
Deprecated.
Never returns anything but an empty set and likely will be removed in the next release.
|
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 by
getName(). |
String getName()
isDynamicallyNamed() returns true
this will be the basic name of the capability, not including any dynamic portions.nullgetDynamicName(String)Set<String> getRequirements()
null but may be empty.@Deprecated Set<String> getOptionalRequirements()
null but may be empty.@Deprecated Set<String> getRuntimeOnlyRequirements()
optional requirements
in that optional requirements may or may not be specified by the persistent
configuration, but if they are the capability must be present or the configuration
is invalid.null but may be empty.@Deprecated Set<String> getDynamicRequirements()
null but may be empty.@Deprecated Set<String> getDynamicOptionalRequirements()
null but may be empty.boolean isDynamicallyNamed()
getName().true if this capability is dynamically namedString getDynamicName(String dynamicNameElement)
dynamicNameElement - the dynamic portion of the name. Cannot be nullIllegalStateException - if isDynamicallyNamed() returns falseString getDynamicName(PathAddress address)
Copyright © 2018 JBoss by Red Hat. All rights reserved.