@Deprecated public abstract class AbstractCapability extends Object implements Capability
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCapability(String name,
boolean dynamic,
Set<String> requirements,
Set<String> optionalRequirements,
Set<String> runtimeOnlyRequirements,
Set<String> dynamicRequirements,
Set<String> dynamicOptionalRequirements,
Function<PathAddress,String[]> dynamicNameMapper)
Deprecated.
Expected to be removed or hidden in the next WildFly Core release
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Deprecated.
|
String |
getDynamicName(PathAddress address)
Deprecated.
|
String |
getDynamicName(String dynamicNameElement)
Deprecated.
Gets the full name of a capability, including a dynamic element
|
Set<String> |
getDynamicOptionalRequirements()
Deprecated.
Gets the names of other dynamically named capabilities upon a concrete instance of which this
capability will have an optional requirement once the full name is known.
|
Set<String> |
getDynamicRequirements()
Deprecated.
Gets the names of other dynamically named capabilities upon a concrete instance of which this
capability will have a hard requirement once the full name is known.
|
String |
getName()
Deprecated.
Gets the basic name of the capability.
|
Set<String> |
getOptionalRequirements()
Deprecated.
Gets the names of other capabilities optionally required by this capability.
|
Set<String> |
getRequirements()
Deprecated.
Gets the names of other capabilities required by this capability.
|
Set<String> |
getRuntimeOnlyRequirements()
Deprecated.
Gets the names of other capabilities optionally used by this capability if they
are present in the runtime, but where the use of the other capability will never
be mandated by the persistent configuration.
|
int |
hashCode()
Deprecated.
|
boolean |
isDynamicallyNamed()
Deprecated.
Gets whether this capability is a dynamically named one, whose runtime variants
will have a dynamic element added to the base name provided by
Capability.getName(). |
String |
toString()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAdditionalRequiredPackages@Deprecated protected AbstractCapability(String name, boolean dynamic, Set<String> requirements, Set<String> optionalRequirements, Set<String> runtimeOnlyRequirements, Set<String> dynamicRequirements, Set<String> dynamicOptionalRequirements, Function<PathAddress,String[]> dynamicNameMapper)
name - the name of the capability. Cannot be nullrequirements - names of other capabilities upon which this capability has a hard requirement. May be nulloptionalRequirements - Ignored. May be nullruntimeOnlyRequirements - Ignored. May be nulldynamicRequirements - Ignored. May be nulldynamicOptionalRequirements - Ignored. May be nulldynamicNameMapper - a function to be used to convert from a PathAddress to the dynamic elements in a
dynamically named capability. May be nullpublic String getName()
CapabilityCapability.isDynamicallyNamed() returns true
this will be the basic name of the capability, not including any dynamic portions.getName in interface CapabilitynullCapability.getDynamicName(String)public Set<String> getRequirements()
CapabilitygetRequirements in interface Capabilitynull but may be empty.public Set<String> getOptionalRequirements()
CapabilitygetOptionalRequirements in interface Capabilitynull but may be empty.public Set<String> getRuntimeOnlyRequirements()
Capabilityoptional 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.getRuntimeOnlyRequirements in interface Capabilitynull but may be empty.public Set<String> getDynamicRequirements()
CapabilitygetDynamicRequirements in interface Capabilitynull but may be empty.public Set<String> getDynamicOptionalRequirements()
CapabilitygetDynamicOptionalRequirements in interface Capabilitynull but may be empty.public boolean isDynamicallyNamed()
CapabilityCapability.getName().isDynamicallyNamed in interface Capabilitytrue if this capability is dynamically namedpublic String getDynamicName(String dynamicNameElement)
CapabilitygetDynamicName in interface CapabilitydynamicNameElement - the dynamic portion of the name. Cannot be nullpublic String getDynamicName(PathAddress address)
getDynamicName in interface Capabilitypublic boolean equals(Object o)
Copyright © 2022 JBoss by Red Hat. All rights reserved.