- canMerge(Extension) - Method in interface org.apache.sling.feature.builder.MergeHandler
-
Checks whether this merger can merge the given extension.
- compareTo(Artifact) - Method in class org.apache.sling.feature.Artifact
-
- compareTo(ArtifactId) - Method in class org.apache.sling.feature.ArtifactId
-
- compareTo(Configuration) - Method in class org.apache.sling.feature.Configuration
-
- compareTo(Feature) - Method in class org.apache.sling.feature.Feature
-
- compareTo(Prototype) - Method in class org.apache.sling.feature.Prototype
-
- CONFIG_FAIL_ON_CLASH - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used to handle configuration merging - fail the merge when there is a clash for a PID - this is the default
- CONFIG_FAIL_ON_PROPERTY_CLASH - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used to handle configuration merging - fail the merge only when there is a clash on a property level
- CONFIG_MERGE_FIRST - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used to handle configuration merging - merge the first configuration in, latest props will not override previous values
- CONFIG_MERGE_LATEST - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used to handle configuration merging - merge the latest configuration in, latest props might override previous values
- CONFIG_USE_FIRST - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used to handle configuration merging - use the first configuration, don't merge
- CONFIG_USE_LATEST - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used to handle configuration merging - use the latest configuration, but don't merge
- Configuration - Class in org.apache.sling.feature
-
A configuration has either
a pid
or a factory pid and a name
and properties.
- Configuration(String) - Constructor for class org.apache.sling.feature.Configuration
-
Create a new configuration
- Configurations - Class in org.apache.sling.feature
-
A container for configurations.
- Configurations() - Constructor for class org.apache.sling.feature.Configurations
-
- CONFIGURATOR_PREFIX - Static variable in class org.apache.sling.feature.Configuration
-
Prefix for instructions for the configurator.
- containsExact(ArtifactId) - Method in class org.apache.sling.feature.Artifacts
-
Checks whether the exact artifact is available
- containsSame(ArtifactId) - Method in class org.apache.sling.feature.Artifacts
-
Checks whether the same artifact is available, neglecting the version
- COORDINATE_MATCH_ALL - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used in override rule to match all coordinates
- copy(ArtifactId) - Method in class org.apache.sling.feature.Artifact
-
Create a copy of the artifact with a different id
- copy(String) - Method in class org.apache.sling.feature.Configuration
-
Create a copy of the configuration with a provided PID.
- copy() - Method in class org.apache.sling.feature.Extension
-
Create a copy of the Extension
- copy() - Method in class org.apache.sling.feature.Feature
-
Create a copy of the feature
- copy(ArtifactId) - Method in class org.apache.sling.feature.Feature
-
Create a copy of the feature with a different id For contained items like
bundles, artifacts and configurations a copy is created as well.
- getAliases(boolean) - Method in class org.apache.sling.feature.Artifact
-
Obtain the alias or aliases for the artifact.
- getArtifactExtensionRemovals() - Method in class org.apache.sling.feature.Prototype
-
- getArtifactId() - Method in class org.apache.sling.feature.ArtifactId
-
Return the artifact id.
- getArtifactProvider() - Method in interface org.apache.sling.feature.builder.HandlerContext
-
Provide the artifact provider.
- getArtifacts() - Method in class org.apache.sling.feature.Extension
-
Get the artifacts of the extension
- getBundleRemovals() - Method in class org.apache.sling.feature.Prototype
-
- getBundles() - Method in class org.apache.sling.feature.Feature
-
Get the bundles.
- getBundlesByStartOrder() - Method in class org.apache.sling.feature.Bundles
-
Get the map of all bundles sorted by start order.
- getByName(String) - Method in class org.apache.sling.feature.Extensions
-
Get an extension by name
- getCapabilities() - Method in class org.apache.sling.feature.Feature
-
Get the list of capabilities.
- getClassifier() - Method in class org.apache.sling.feature.ArtifactId
-
Return the optional classifier.
- getConfiguration() - Method in interface org.apache.sling.feature.builder.HandlerContext
-
Configuration for the handler
- getConfiguration(String) - Method in class org.apache.sling.feature.Configurations
-
Get the configuration
- getConfigurationProperties() - Method in class org.apache.sling.feature.Configuration
-
Get the configuration properties of the configuration.
- getConfigurationRemovals() - Method in class org.apache.sling.feature.Prototype
-
- getConfigurations() - Method in class org.apache.sling.feature.Feature
-
Get the configurations.
- getDescription() - Method in class org.apache.sling.feature.Feature
-
Get the description
- getExact(ArtifactId) - Method in class org.apache.sling.feature.Artifacts
-
Get the artifact for the given id
- getExtensionRemovals() - Method in class org.apache.sling.feature.Prototype
-
- getExtensions() - Method in class org.apache.sling.feature.Feature
-
Get the list of extensions.
- getFactoryPid(String) - Static method in class org.apache.sling.feature.Configuration
-
Return the factory pid of a pid if it's a factory configuration
- getFeatureOrigins() - Method in class org.apache.sling.feature.Artifact
-
- getFrameworkProperties() - Method in class org.apache.sling.feature.Feature
-
Get the framework properties
The returned object is modifiable.
- getFrameworkPropertiesRemovals() - Method in class org.apache.sling.feature.Prototype
-
- getGroupId() - Method in class org.apache.sling.feature.ArtifactId
-
Return the group id.
- getId() - Method in class org.apache.sling.feature.Artifact
-
Get the id of the artifact.
- getId() - Method in class org.apache.sling.feature.Feature
-
Get the id of the artifact.
- getId() - Method in class org.apache.sling.feature.Prototype
-
Get the id of the artifact.
- getJSON() - Method in class org.apache.sling.feature.Extension
-
Get the JSON of the extension
- getJSONStructure() - Method in class org.apache.sling.feature.Extension
-
Get the JSON structure of the extension
- getLicense() - Method in class org.apache.sling.feature.Feature
-
Get the license
- getLocation() - Method in class org.apache.sling.feature.Feature
-
Get the location.
- getMetadata() - Method in class org.apache.sling.feature.Artifact
-
Get the metadata of the artifact.
- getName(String) - Static method in class org.apache.sling.feature.Configuration
-
Return the name for a factory configuration.
- getName() - Method in class org.apache.sling.feature.Extension
-
Get the extension name
- getOSGiVersion() - Method in class org.apache.sling.feature.ArtifactId
-
Return the OSGi version
- getPid() - Method in class org.apache.sling.feature.Configuration
-
Get the pid.
- getProperties() - Method in class org.apache.sling.feature.Configuration
-
Get all properties of the configuration.
- getPrototype() - Method in class org.apache.sling.feature.Feature
-
Get the optional prototype feature.
- getRequirements() - Method in class org.apache.sling.feature.Feature
-
Get the list of requirements.
- getSame(ArtifactId) - Method in class org.apache.sling.feature.Artifacts
-
Get the artifact for the given id, neglecting the version
- getStartOrder() - Method in class org.apache.sling.feature.Artifact
-
Get the start order of the artifact.
- getState() - Method in class org.apache.sling.feature.Extension
-
Get the extension state
- getText() - Method in class org.apache.sling.feature.Extension
-
Get the text of the extension
- getTitle() - Method in class org.apache.sling.feature.Feature
-
Get the title
- getType() - Method in class org.apache.sling.feature.ArtifactId
-
Return the type.
- getType() - Method in class org.apache.sling.feature.Extension
-
Get the extension type
- getVariables() - Method in class org.apache.sling.feature.Feature
-
Obtain the variables of the feature
- getVendor() - Method in class org.apache.sling.feature.Feature
-
Get the vendor
- getVersion() - Method in class org.apache.sling.feature.ArtifactId
-
Return the version.