@ProviderType public interface FeatureExtension
Extensions are of one of the following kinds:
Modifier and Type | Interface and Description |
---|---|
static class |
FeatureExtension.Kind
The kind of extension: optional, mandatory or transient.
|
static class |
FeatureExtension.Type
The type of extension
|
Modifier and Type | Method and Description |
---|---|
List<FeatureArtifact> |
getArtifacts()
Get the Artifacts from this extension.
|
String |
getJSON()
Get the JSON from this extension.
|
FeatureExtension.Kind |
getKind()
Get the extension kind.
|
String |
getName()
Get the extension name.
|
List<String> |
getText()
Get the Text from this extension.
|
FeatureExtension.Type |
getType()
Get the extension type.
|
String getName()
FeatureExtension.Type getType()
FeatureExtension.Kind getKind()
String getJSON()
IllegalStateException
- If called on an extension which is not of
type JSON.List<String> getText()
IllegalStateException
- If called on an extension which is not of
type TEXT.List<FeatureArtifact> getArtifacts()
IllegalStateException
- If called on an extension which is not of
type ARTIFACTS.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0