@ProviderType public interface FeatureExtensionBuilder
FeatureExtension
objects.Modifier and Type | Method and Description |
---|---|
FeatureExtensionBuilder |
addArtifact(FeatureArtifact artifact)
Add an Artifact to the extension.
|
FeatureExtensionBuilder |
addText(String text)
Add a line of text to the extension.
|
FeatureExtension |
build()
Build the Extension.
|
FeatureExtensionBuilder |
setJSON(String json)
Add JSON in String form to the extension.
|
FeatureExtensionBuilder addText(String text)
FeatureExtension.Type.TEXT
.text
- The text to be added.FeatureExtensionBuilder setJSON(String json)
FeatureExtension.Type.JSON
.json
- The JSON to be added.FeatureExtensionBuilder addArtifact(FeatureArtifact artifact)
FeatureExtension.Type.ARTIFACTS
.artifact
- The artifact to add.FeatureExtension build()
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0