public class RuntimeRequirementRegistration extends RequirementRegistration
RuntimeCapability. As a runtime
requirement is associated with an actual management model, the registration exposes the point in the model
that triggered the requirement.| Constructor and Description |
|---|
RuntimeRequirementRegistration(RuntimeRequirementRegistration toCopy) |
RuntimeRequirementRegistration(String requiredName,
String dependentName,
CapabilityContext dependentContext,
RegistrationPoint registrationPoint) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRegistrationPoint(RegistrationPoint toAdd) |
RegistrationPoint |
getOldestRegistrationPoint()
Gets the registration point that been associated with the registration for the longest period.
|
int |
getRegistrationPointCount() |
Set<RegistrationPoint> |
getRegistrationPoints()
Get all registration points associated with this registration.
|
boolean |
removeRegistrationPoint(RegistrationPoint toAdd) |
equals, getDependentContext, getDependentId, getDependentName, getRequiredName, hashCodepublic RuntimeRequirementRegistration(String requiredName, String dependentName, CapabilityContext dependentContext, RegistrationPoint registrationPoint)
public RuntimeRequirementRegistration(RuntimeRequirementRegistration toCopy)
public RegistrationPoint getOldestRegistrationPoint()
null if there are no longer any registration pointspublic Set<RegistrationPoint> getRegistrationPoints()
null but may be emptypublic boolean addRegistrationPoint(RegistrationPoint toAdd)
public boolean removeRegistrationPoint(RegistrationPoint toAdd)
public int getRegistrationPointCount()
Copyright © 2015 JBoss by Red Hat. All rights reserved.