Class CapabilityId
java.lang.Object
org.jboss.as.controller.capability.registry.CapabilityId
- All Implemented Interfaces:
Comparable<CapabilityId>
Unique identifier for a capability, encapsulating its name and the scope in which it exists.
- Author:
- Brian Stansberry (c) 2014 Red Hat Inc.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CapabilityId
-
-
Method Details
-
getName
Gets the name of the capability. Must be unique within the given scope, so providers of capabilities should use a distinct namespace as part of the name. Theorg.wildflynamespace and any child namespaces are reserved for use by the WildFly project or its component projects itself.- Returns:
- the name. Will not be
null
-
getScope
Gets the scope in which the capability exists. A single management process may handle multiple scopes simultaneously, and a given capability may not exist in all of them. An example are the various profiles in a managed domain, some of which may have a capability registered and other may not.- Returns:
- the context. Will not be
null
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<CapabilityId>
-