Class CapabilityId

  • All Implemented Interfaces:
    Comparable<CapabilityId>

    public class CapabilityId
    extends Object
    implements 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.
    • Method Detail

      • getName

        public String 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. The org.wildfly namespace 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

        public CapabilityScope 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object