public interface Capability
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAdditionalRequiredPackages()
|
String |
getDynamicName(PathAddress address) |
String |
getDynamicName(String dynamicNameElement)
Gets the full name of a capability, 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)
@Deprecated Set<String> getAdditionalRequiredPackages()
A package is "additional" if it is not one of the "standard" packages that must be installed. The names of "standard" packages should not be returned. The "standard" packages are:
Extension, the package
that installs the module that provides the extension.
requirement.
null but may be emptyCopyright © 2021 JBoss by Red Hat. All rights reserved.