public static final class ComponentCompliance.Builder
extends java.lang.Object
ComponentCompliance.| Constructor and Description |
|---|
Builder(ComplianceStatus status,
Notifications notifications)
Constructor with parameters for the required properties of
ComponentCompliance. |
| Modifier and Type | Method and Description |
|---|---|
ComponentCompliance |
build() |
ComponentCompliance.Builder |
setCurrent(ComponentInfo current)
Current version of the component present on the host.
|
ComponentCompliance.Builder |
setCurrentSource(ComponentSource currentSource)
Source of the component on the host.
|
ComponentCompliance.Builder |
setTarget(ComponentInfo target)
Target version of the component present in the software specification.
|
ComponentCompliance.Builder |
setTargetSource(ComponentSource targetSource)
Source of the component in the software specification.
|
public Builder(ComplianceStatus status, Notifications notifications)
ComponentCompliance.public ComponentCompliance.Builder setCurrent(ComponentInfo current)
null if component is not present on the host.current - New value for the property.public ComponentCompliance.Builder setTarget(ComponentInfo target)
null if component is not present in the software specification.target - New value for the property.public ComponentCompliance.Builder setCurrentSource(ComponentSource currentSource)
null if component is not present on the host.currentSource - New value for the property.public ComponentCompliance.Builder setTargetSource(ComponentSource targetSource)
null if component is not present in the software specification.targetSource - New value for the property.public ComponentCompliance build()