public class CapabilityId extends Object
| Constructor and Description |
|---|
CapabilityId(String name,
CapabilityContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSatisfyRequirements(CapabilityId other)
Gets whether a capability with this id can satisfy a requirement represented by another id.
|
boolean |
equals(Object o) |
CapabilityContext |
getContext()
Gets the context in which the capability exists.
|
String |
getName()
Gets the name of the capability.
|
int |
hashCode() |
String |
toString() |
public CapabilityId(String name, CapabilityContext context)
public String getName()
org.wildfly namespace and any child namespaces
are reserved for use by the WildFly project or its component projects itself.nullpublic CapabilityContext getContext()
nullpublic boolean canSatisfyRequirements(CapabilityId other)
other - the other id. Cannot be nulltrue if this id has the same name as the other id, and if this id's context
can satisfy requirements
for the other id's contextCopyright © 2015 JBoss by Red Hat. All rights reserved.