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)
Copy constructor.
|
RuntimeRequirementRegistration(String requiredName,
String dependentName,
CapabilityScope dependentScope,
RegistrationPoint registrationPoint)
Creates a new requirement registration.
|
RuntimeRequirementRegistration(String requiredName,
String dependentName,
CapabilityScope dependentScope,
RegistrationPoint registrationPoint,
boolean runtimeOnly)
Creates a new requirement registration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isRuntimeOnly()
Gets whether the requirement is optional and runtime-only (i.e.
|
addRegistrationPoint, equals, getDependentContext, getDependentId, getDependentName, getOldestRegistrationPoint, getRegistrationPointCount, getRegistrationPoints, getRequiredName, hashCode, removeRegistrationPoint
public RuntimeRequirementRegistration(String requiredName, String dependentName, CapabilityScope dependentScope, RegistrationPoint registrationPoint)
requiredName
- the name of the required capabilitydependentName
- the name of the capability that requires requiredName
dependentScope
- scope in which the dependent capability existsregistrationPoint
- point in the configuration model that triggered the requirementpublic RuntimeRequirementRegistration(String requiredName, String dependentName, CapabilityScope dependentScope, RegistrationPoint registrationPoint, boolean runtimeOnly)
requiredName
- the name of the required capabilitydependentName
- the name of the capability that requires requiredName
dependentScope
- scope in which the dependent capability existsregistrationPoint
- point in the configuration model that triggered the requirementruntimeOnly
- true
if and only if the requirement is optional and runtime-only
(i.e. not mandated by the persistent configuration), and
therefore should not result in a configuration validation failure
if it is not satisfiedpublic RuntimeRequirementRegistration(RuntimeRequirementRegistration toCopy)
toCopy
- the registration to copy.public boolean isRuntimeOnly()
true
if the requirement is optional and runtime-onlyCopyright © 2023 JBoss by Red Hat. All rights reserved.