public class ProfileChildCapabilityContext extends Object
CapabilityContext for the children of a Host Controller profile resource.
Note this does not include the profile capability itself.ProfilesCapabilityContextGLOBAL| Constructor and Description |
|---|
ProfileChildCapabilityContext(String value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSatisfyRequirement(CapabilityId dependent,
String required,
CapabilityResolutionContext context)
Gets whether a given capability associated with this context can satisfy the given requirement.
|
protected CapabilityContext |
createIncludedContext(String name) |
boolean |
equals(Object o) |
Set<CapabilityContext> |
getIncludingContexts(CapabilityResolutionContext context)
Gets any contexts that logically include this one, i.e.
|
String |
getName()
Gets a descriptive name of the context
|
int |
hashCode() |
boolean |
requiresConsistencyCheck()
Gets whether a consistency check must be performed when other capabilities depend on capabilities
in this context.
|
String |
toString() |
public ProfileChildCapabilityContext(String value)
public boolean canSatisfyRequirement(CapabilityId dependent, String required, CapabilityResolutionContext context)
CapabilityContextdependent - id of the dependent capability. Cannot be nullrequired - name of the capability associated with this capability context. May be null if the
dependent name is not known.context - resolution context in use for this resolution runtrue if the requirement can be satisfied from this context; false otherwisepublic boolean requiresConsistencyCheck()
CapabilityContexttrue if a consistency check is requiredprotected CapabilityContext createIncludedContext(String name)
public String getName()
CapabilityContextgetName in interface CapabilityContextnullpublic Set<CapabilityContext> getIncludingContexts(CapabilityResolutionContext context)
CapabilityContextgetIncludingContexts in interface CapabilityContextcontext - resolution context in use for this resolution runnull but may be empty.Copyright © 2015 JBoss by Red Hat. All rights reserved.