@ProviderType public interface BuilderFactory
Modifier and Type | Method and Description |
---|---|
FeatureArtifactBuilder |
newArtifactBuilder(ID id)
Obtain a new builder for Artifact objects.
|
FeatureBundleBuilder |
newBundleBuilder(ID id)
Obtain a new builder for Bundle objects.
|
FeatureConfigurationBuilder |
newConfigurationBuilder(String pid)
Obtain a new builder for Configuration objects.
|
FeatureConfigurationBuilder |
newConfigurationBuilder(String factoryPid,
String name)
Obtain a new builder for Factory Configuration objects.
|
FeatureExtensionBuilder |
newExtensionBuilder(String name,
FeatureExtension.Type type,
FeatureExtension.Kind kind)
Obtain a new builder for Feature objects.
|
FeatureBuilder |
newFeatureBuilder(ID id)
Obtain a new builder for Feature objects.
|
FeatureArtifactBuilder newArtifactBuilder(ID id)
id
- The artifact ID for the artifact object being built.FeatureBundleBuilder newBundleBuilder(ID id)
id
- The ID for the bundle object being built. If the ID has no
type
specified, a default type of @{code jar} is
assumed.FeatureConfigurationBuilder newConfigurationBuilder(String pid)
pid
- The persistent ID for the Configuration being built.FeatureConfigurationBuilder newConfigurationBuilder(String factoryPid, String name)
factoryPid
- The factory persistent ID for the Configuration being built.name
- The name of the configuration being built. The PID for the configuration
will be the factoryPid + '~' + nameFeatureBuilder newFeatureBuilder(ID id)
id
- The ID for the feature object being built. If the ID has no
type
specified, a default type of osgifeature
is assumed.FeatureExtensionBuilder newExtensionBuilder(String name, FeatureExtension.Type type, FeatureExtension.Kind kind)
name
- The extension name.type
- The type of extension: JSON, Text or Artifacts.kind
- The kind of extension: Mandatory, Optional or Transient.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0