A B C D E F G H I J K M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(Artifact) - Method in class org.apache.sling.feature.Artifacts
-
Add an artifact.
- addArtifactsOverride(ArtifactId) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Add an override for artifact clashes.
- addArtifactsOverrides(List<String>) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Deprecated.Use
BuilderContext.addArtifactsOverride(ArtifactId)
instead. - addConfigsOverrides(Map<String, String>) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Add merge policies for configuration clashes.
- addFrameworkPropertiesOverrides(Map<String, String>) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Add overrides for the framework properties.
- addMergeExtensions(MergeHandler...) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Add merge extensions
- addPostProcessExtensions(PostProcessHandler...) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Add post process extensions
- addVariablesOverrides(Map<String, String>) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Add overrides for the variables.
- ARCHIVE_VERSION - Static variable in class org.apache.sling.feature.io.archive.ArchiveWriter
-
Current support version of the feature model archive.
- ArchiveReader - Class in org.apache.sling.feature.io.archive
-
The feature archive reader can be used to read an archive based on a feature model.
- ArchiveReader() - Constructor for class org.apache.sling.feature.io.archive.ArchiveReader
- ArchiveReader.ArtifactConsumer - Interface in org.apache.sling.feature.io.archive
- ArchiveWriter - Class in org.apache.sling.feature.io.archive
-
The feature archive writer can be used to create an archive based on a feature model.
- ArchiveWriter() - Constructor for class org.apache.sling.feature.io.archive.ArchiveWriter
- Artifact - Class in org.apache.sling.feature
-
An artifact consists of An id metadata optional alias and start order properties (which are part of the metadata) This class is not thread-safe.
- Artifact(JsonValue) - Constructor for class org.apache.sling.feature.Artifact
-
Construct a new artifact
- Artifact(ArtifactId) - Constructor for class org.apache.sling.feature.Artifact
-
Construct a new artifact
- ArtifactHandler - Class in org.apache.sling.feature.io.artifacts
-
A handler provides a file object for an artifact.
- ArtifactHandler(File) - Constructor for class org.apache.sling.feature.io.artifacts.ArtifactHandler
-
Create a new handler.
- ArtifactHandler(String, URL) - Constructor for class org.apache.sling.feature.io.artifacts.ArtifactHandler
-
Create a new handler.
- ArtifactId - Class in org.apache.sling.feature
-
An artifact identifier.
- ArtifactId(String, String, String, String, String) - Constructor for class org.apache.sling.feature.ArtifactId
-
Create a new artifact object
- ArtifactManager - Class in org.apache.sling.feature.io.artifacts
-
The artifact manager is the central service to get artifacts.
- ArtifactManagerConfig - Class in org.apache.sling.feature.io.artifacts
-
This class holds the configuration of artifact manager.
- ArtifactManagerConfig() - Constructor for class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Create a new configuration object.
- ArtifactProvider - Interface in org.apache.sling.feature.builder
-
The artifact provider provides a URL for an artifact.
- ArtifactProvider - Interface in org.apache.sling.feature.io.artifacts.spi
-
The artifact provider is an extension point for providing artifacts from different sources, like for example s3.
- ArtifactProviderContext - Interface in org.apache.sling.feature.io.artifacts.spi
-
This is the context for the artifact providers
- Artifacts - Class in org.apache.sling.feature
-
Groups a list of
Artifact
s. - Artifacts() - Constructor for class org.apache.sling.feature.Artifacts
- ARTIFACTS - org.apache.sling.feature.ExtensionType
- assemble(ArtifactId, BuilderContext, Feature...) - Static method in class org.apache.sling.feature.builder.FeatureBuilder
-
Assemble a feature based on the provided features.
- assemble(Feature, BuilderContext) - Static method in class org.apache.sling.feature.builder.FeatureBuilder
-
Assemble the full feature by processing its prototype.
B
- BuilderContext - Class in org.apache.sling.feature.builder
-
Builder context holds services used by
FeatureBuilder
and controls how features are assembled and aggregated. - BuilderContext(FeatureProvider) - Constructor for class org.apache.sling.feature.builder.BuilderContext
-
Create a new context.
- Bundles - Class in org.apache.sling.feature
-
Groups a list of bundles
Artifact
and provides a means to sort them based on start order. - Bundles() - Constructor for class org.apache.sling.feature.Bundles
C
- canMerge(Extension) - Method in interface org.apache.sling.feature.builder.MergeHandler
-
Checks whether this merger can merge the given extension.
- changeClassifier(String) - Method in class org.apache.sling.feature.ArtifactId
-
Provide artifact id with a different classifier.
- changeType(String) - Method in class org.apache.sling.feature.ArtifactId
-
Provide artifact id with a different type.
- changeVersion(String) - Method in class org.apache.sling.feature.ArtifactId
-
Provide artifact id with a different version.
- close() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManager
- close() - Method in class org.apache.sling.feature.io.CloseShieldWriter
-
Deprecated.
- CloseShieldWriter - Class in org.apache.sling.feature.io
-
Deprecated.
- CloseShieldWriter(Writer) - Constructor for class org.apache.sling.feature.io.CloseShieldWriter
-
Deprecated.
- 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
- ConfigurationJSONReader - Class in org.apache.sling.feature.io.json
-
JSON Reader for configurations.
- ConfigurationJSONReader() - Constructor for class org.apache.sling.feature.io.json.ConfigurationJSONReader
- ConfigurationJSONWriter - Class in org.apache.sling.feature.io.json
-
JSON writer for configurations
- ConfigurationJSONWriter() - Constructor for class org.apache.sling.feature.io.json.ConfigurationJSONWriter
- 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.
- ConfiguratorUtil - Class in org.apache.sling.feature.io
-
Deprecated.Use
Configurations
instead. - consume(ArtifactId, InputStream) - Method in interface org.apache.sling.feature.io.archive.ArchiveReader.ArtifactConsumer
-
Consume the artifact from the archive The input stream must not be closed by the consumer.
- 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
- CONTENTS_HEADER - Static variable in class org.apache.sling.feature.io.archive.ArchiveWriter
-
The manifest header listing the features in this archive.
- COORDINATE_MATCH_ALL - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used in override rule to match all coordinates
- 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(String) - Method in class org.apache.sling.feature.Configuration
-
Create a copy of the configuration with a provided PID.
- copy(ArtifactId) - Method in class org.apache.sling.feature.Artifact
-
Create a copy of the artifact with a different id
- 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.
D
- deduplicate(BuilderContext, Feature...) - Static method in class org.apache.sling.feature.builder.FeatureBuilder
-
Remove duplicate and prototype features.
- DEFAULT_DIRECTORY - Static variable in class org.apache.sling.feature.io.IOUtils
-
The default directory to search for features.
- DEFAULT_FEATURE_FILE - Static variable in class org.apache.sling.feature.io.IOUtils
-
The default name of the feature file.
- DEFAULT_TYPE - Static variable in class org.apache.sling.feature.ArtifactId
-
The default type if
null
is provided as a type.
E
- equals(Object) - Method in class org.apache.sling.feature.Artifact
- equals(Object) - Method in class org.apache.sling.feature.ArtifactId
- equals(Object) - Method in class org.apache.sling.feature.Extension
- equals(Object) - Method in class org.apache.sling.feature.Feature
- equals(Object) - Method in class org.apache.sling.feature.Prototype
- ExecutionEnvironmentExtension - Class in org.apache.sling.feature
-
Execution environment extension
- Extension - Class in org.apache.sling.feature
-
An Extension can either be of type Artifacts : it contains a list of artifacts Text : it contains text JSON : it contains a blob of JSON
- Extension(ExtensionType, String, boolean) - Constructor for class org.apache.sling.feature.Extension
-
Deprecated.
- Extension(ExtensionType, String, ExtensionState) - Constructor for class org.apache.sling.feature.Extension
-
Create a new extension
- EXTENSION_FEATURE_ARCHIVE - Static variable in class org.apache.sling.feature.io.IOUtils
-
The extension for a feature file.
- EXTENSION_FEATURE_FILE - Static variable in class org.apache.sling.feature.io.IOUtils
-
The extension for a feature file.
- EXTENSION_NAME - Static variable in class org.apache.sling.feature.ExecutionEnvironmentExtension
-
Extension name containing the execution environment.
- EXTENSION_NAME_ASSEMBLED_FEATURES - Static variable in class org.apache.sling.feature.Extension
-
Extension name containing the assembled features as produced by
FeatureBuilder.assemble(ArtifactId, BuilderContext, Feature...)
. - EXTENSION_NAME_CONTENT_PACKAGES - Static variable in class org.apache.sling.feature.Extension
-
Common extension name to specify the content packages for Apache Sling.
- EXTENSION_NAME_REPOINIT - Static variable in class org.apache.sling.feature.Extension
-
Common extension name to specify the repoinit part for Apache Sling.
- EXTENSION_REF_FILE - Static variable in class org.apache.sling.feature.io.IOUtils
-
The extension for a reference file.
- Extensions - Class in org.apache.sling.feature
-
A container for extensions This class is not thread-safe.
- Extensions() - Constructor for class org.apache.sling.feature.Extensions
- ExtensionState - Enum in org.apache.sling.feature
-
Enumeration for
Extension
states. - ExtensionType - Enum in org.apache.sling.feature
-
Enumeration for
Extension
types.
F
- Feature - Class in org.apache.sling.feature
-
A feature consists of A unique id
ArtifactId
Bundles Configurations Framework properties Requirements and capabilities Prototype Extensions This class is not thread-safe. - Feature(ArtifactId) - Constructor for class org.apache.sling.feature.Feature
-
Construct a new feature.
- FeatureBuilder - Class in org.apache.sling.feature.builder
- FeatureBuilder() - Constructor for class org.apache.sling.feature.builder.FeatureBuilder
- FeatureJSONReader - Class in org.apache.sling.feature.io.json
-
This class offers a static method to read a
Feature
using aReader
instance. - FeatureJSONWriter - Class in org.apache.sling.feature.io.json
-
This class offers a static method to write a feature using a writer.
- FeatureJSONWriter() - Constructor for class org.apache.sling.feature.io.json.FeatureJSONWriter
- FeatureProvider - Interface in org.apache.sling.feature.builder
-
The feature provider is used to find features while assembling using
FeatureBuilder
. - fromMvnId(String) - Static method in class org.apache.sling.feature.ArtifactId
-
Create a new artifact id from maven coordinates/id groupId:artifactId[:packaging[:classifier]]:version
- fromMvnPath(String) - Static method in class org.apache.sling.feature.ArtifactId
-
Create a new artifact id from a maven path The schema is
groupIdPath/artifactId/version/artifactId-version[-classifier].type
- fromMvnUrl(String) - Static method in class org.apache.sling.feature.ArtifactId
-
Create a new artifact id from a maven url, 'mvn:' group-id '/' artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] ] ] ]
G
- getAliases(boolean) - Method in class org.apache.sling.feature.Artifact
-
Obtain the alias or aliases for the artifact.
- getArtifact(String, String) - Method in interface org.apache.sling.feature.io.artifacts.spi.ArtifactProvider
-
Get a local file for the artifact URL.
- getArtifactExtensionRemovals() - Method in class org.apache.sling.feature.Prototype
-
Get the list of artifacts removed from extensions The returned object is modifiable.
- getArtifactHandler(String) - Method in class org.apache.sling.feature.io.artifacts.ArtifactManager
-
Get the full artifact url and file for an artifact.
- getArtifactId() - Method in class org.apache.sling.feature.ArtifactId
-
Return the artifact id.
- getArtifactManager(ArtifactManagerConfig) - Static method in class org.apache.sling.feature.io.artifacts.ArtifactManager
-
Get an artifact manager based on the configuration
- getArtifactProvider() - Method in interface org.apache.sling.feature.builder.HandlerContext
-
Provide the optional 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
-
Get the list of artifact removals The returned object is modifiable.
- 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
- getCachedArtifacts() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Get the number of cached artifacts
- getCacheDirectory() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Get the cache directory
- getCacheDirectory() - Method in interface org.apache.sling.feature.io.artifacts.spi.ArtifactProviderContext
-
Get the cache directory
- getCapabilities() - Method in class org.apache.sling.feature.Feature
-
Get the list of capabilities.
- getCapabilityRemovals() - Method in class org.apache.sling.feature.Prototype
-
Get the list of capability removals.
- 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
-
Get the list of configuration removals The returned object is modifiable.
- getConfigurations() - Method in class org.apache.sling.feature.Feature
-
Get the configurations.
- getDescription() - Method in class org.apache.sling.feature.Feature
-
Get the description
- getDownloadedArtifacts() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Get the number of downloaded artifacts
- getExact(ArtifactId) - Method in class org.apache.sling.feature.Artifacts
-
Get the artifact for the given id
- getExecutionEnvironmentExtension(Extension) - Static method in class org.apache.sling.feature.ExecutionEnvironmentExtension
-
Get the execution environment from the extension.
- getExecutionEnvironmentExtension(Feature) - Static method in class org.apache.sling.feature.ExecutionEnvironmentExtension
-
Get the execution environment from the feature - if it exists.
- getExtensionRemovals() - Method in class org.apache.sling.feature.Prototype
-
Get the list of extension removals The returned object is modifiable.
- getExtensions() - Method in class org.apache.sling.feature.Feature
-
Get the list of extensions.
- getFactoryConfigurations(String) - Method in class org.apache.sling.feature.Configurations
-
Get all factory configurations matching the factory pid.
- getFactoryPid() - Method in class org.apache.sling.feature.Configuration
-
Return the factory pid of a pid if it's a factory configuration
- getFactoryPid(String) - Static method in class org.apache.sling.feature.Configuration
-
Return the factory pid of a pid if it's a factory configuration
- getFeatureFiles(File, String...) - Static method in class org.apache.sling.feature.io.IOUtils
-
Get the list of feature files.
- getFeatureOrigins() - Method in class org.apache.sling.feature.Artifact
- getFeatureOrigins() - Method in class org.apache.sling.feature.Configuration
-
Get the feature origins - if recorded
- getFileContents(ArtifactHandler) - Method in class org.apache.sling.feature.io.artifacts.ArtifactManager
- getFileFromURL(URL, boolean, File) - Static method in class org.apache.sling.feature.io.IOUtils
-
Get a File from a local URL (if possible)
- getFramework() - Method in class org.apache.sling.feature.ExecutionEnvironmentExtension
-
Get the specified framework
- 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
-
Get the list of framework property removals The returned object is modifiable.
- 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.
- getJarFileFromURL(URL, boolean, File) - Static method in class org.apache.sling.feature.io.IOUtils
-
Get a JarFile from a local URL (if possible)
- getJavaOptions() - Method in class org.apache.sling.feature.ExecutionEnvironmentExtension
-
Get the specified java options
- getJavaVersion() - Method in class org.apache.sling.feature.ExecutionEnvironmentExtension
-
Get the specified java version
- 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
- getLatestSnapshot(String) - Static method in class org.apache.sling.feature.io.artifacts.ArtifactManager
- getLicense() - Method in class org.apache.sling.feature.Feature
-
Get the license
- getLocalArtifacts() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Get the number of local artifacts
- getLocalURL() - Method in class org.apache.sling.feature.io.artifacts.ArtifactHandler
-
Get a local url for the artifact
- 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() - Method in class org.apache.sling.feature.Configuration
-
Return the name for a factory configuration if it is a factory configuration.
- getName() - Method in class org.apache.sling.feature.Extension
-
Get the extension name
- getName(String) - Static method in class org.apache.sling.feature.Configuration
-
Return the name for a factory configuration if it is a factory configuration.
- 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.
- getProtocol() - Method in interface org.apache.sling.feature.io.artifacts.spi.ArtifactProvider
-
The protocol name of the provider, e.g.
- getPrototype() - Method in class org.apache.sling.feature.Feature
-
Get the optional prototype feature.
- getRepositoryUrls() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Get the repository urls.
- getRequirementRemovals() - Method in class org.apache.sling.feature.Prototype
-
Get the list of requirement removals.
- 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
- getUrl() - Method in class org.apache.sling.feature.io.artifacts.ArtifactHandler
-
Get the url of the artifact
- getValue(String, String[]) - Static method in class org.apache.sling.feature.io.artifacts.ArtifactManager
- 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.
H
- HandlerContext - Interface in org.apache.sling.feature.builder
-
Context for an extension handler.
- hashCode() - Method in class org.apache.sling.feature.Artifact
- hashCode() - Method in class org.apache.sling.feature.ArtifactId
- hashCode() - Method in class org.apache.sling.feature.Extension
- hashCode() - Method in class org.apache.sling.feature.Feature
- hashCode() - Method in class org.apache.sling.feature.Prototype
I
- incCachedArtifacts() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
- incCachedArtifacts() - Method in interface org.apache.sling.feature.io.artifacts.spi.ArtifactProviderContext
-
Inform about an artifact found in the cache.
- incDownloadedArtifacts() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
- incDownloadedArtifacts() - Method in interface org.apache.sling.feature.io.artifacts.spi.ArtifactProviderContext
-
Inform about an artifact being downloaded
- incLocalArtifacts() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
- incLocalArtifacts() - Method in interface org.apache.sling.feature.io.artifacts.spi.ArtifactProviderContext
-
Inform about an artifact found locally.
- init(ArtifactProviderContext) - Method in interface org.apache.sling.feature.io.artifacts.spi.ArtifactProvider
-
Initialize the provider.
- IOUtils - Class in org.apache.sling.feature.io
- IOUtils() - Constructor for class org.apache.sling.feature.io.IOUtils
- isAssembled() - Method in class org.apache.sling.feature.Feature
-
Check whether the feature is already assembled
- isComplete() - Method in class org.apache.sling.feature.Feature
-
Check whether the feature is complete.
- isFactoryConfiguration() - Method in class org.apache.sling.feature.Configuration
-
Check whether the pid is a factory pid
- isFactoryConfiguration(String) - Static method in class org.apache.sling.feature.Configuration
-
Check whether the pid is a factory pid
- isFinal() - Method in class org.apache.sling.feature.Feature
-
Check whether the feature is final.
- isInitialMerge() - Method in interface org.apache.sling.feature.builder.HandlerContext
-
Is this the first feature being merged in?
- isOptional() - Method in class org.apache.sling.feature.Extension
-
Deprecated.
- isPrototypeMerge() - Method in interface org.apache.sling.feature.builder.HandlerContext
-
Is this merging a prototype into the defining feature?
- isRequired() - Method in class org.apache.sling.feature.Extension
-
Deprecated.
- isSame(ArtifactId) - Method in class org.apache.sling.feature.ArtifactId
-
Test whether the artifact id is pointing to the same artifact but potentially a different version
- isUseMvn() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Should mvn be used if an artifact can't be found in the repositories
J
- JSON - org.apache.sling.feature.ExtensionType
- JSONConstants - Class in org.apache.sling.feature.io.json
- JSONConstants() - Constructor for class org.apache.sling.feature.io.json.JSONConstants
K
- KEY_ALIAS - Static variable in class org.apache.sling.feature.Artifact
-
Can be used in artifact metadata to specify an alias.
- KEY_FEATURE_ORIGINS - Static variable in class org.apache.sling.feature.Artifact
- KEY_START_ORDER - Static variable in class org.apache.sling.feature.Artifact
-
This key might be used by bundles to define the start order.
M
- matches(Capability) - Method in interface org.apache.sling.feature.MatchingRequirement
- MatchingRequirement - Interface in org.apache.sling.feature
- merge(HandlerContext, Feature, Feature, Extension, Extension) - Method in interface org.apache.sling.feature.builder.MergeHandler
-
Merge the source extension into the target extension.
- MergeHandler - Interface in org.apache.sling.feature.builder
-
A merge handler can merge an extension of a particular type.
N
- newGenerator(Writer) - Static method in class org.apache.sling.feature.io.ConfiguratorUtil
-
Deprecated.
O
- OPTIONAL - org.apache.sling.feature.ExtensionState
- org.apache.sling.feature - package org.apache.sling.feature
- org.apache.sling.feature.builder - package org.apache.sling.feature.builder
- org.apache.sling.feature.io - package org.apache.sling.feature.io
- org.apache.sling.feature.io.archive - package org.apache.sling.feature.io.archive
- org.apache.sling.feature.io.artifacts - package org.apache.sling.feature.io.artifacts
- org.apache.sling.feature.io.artifacts.spi - package org.apache.sling.feature.io.artifacts.spi
- org.apache.sling.feature.io.json - package org.apache.sling.feature.io.json
P
- parse(String) - Static method in class org.apache.sling.feature.ArtifactId
-
Create a new artifact id from a string, the string must either be a mvn url or a mvn id (= coordinates)
- parseFeatureRefFile(File) - Static method in class org.apache.sling.feature.io.IOUtils
-
Parse a feature reference file
- postProcess(HandlerContext, Feature, Extension) - Method in interface org.apache.sling.feature.builder.PostProcessHandler
-
Post process the feature with respect to the extension.
- PostProcessHandler - Interface in org.apache.sling.feature.builder
-
A Post Process Handler processes features after a merge operation.
- PROP_ARTIFACT_ID - Static variable in class org.apache.sling.feature.Configuration
-
This optional configuration property stores the artifact id (mvn id) of the bundle this configuration belongs to.
- PROP_FEATURE_ORIGINS - Static variable in class org.apache.sling.feature.Configuration
-
This optional configuration property stores the artifact ids (array) of the features this configuration has been specified.
- PROP_PREFIX - Static variable in class org.apache.sling.feature.Configuration
-
Prefix for special properties which are not configuration properties.
- Prototype - Class in org.apache.sling.feature
-
A prototype is a blueprint of a feature with optional removals of Configurations / configuration properties Bundles Framework properties Extensions or artifacts from extensions Capabilities Requirements This class is not thread-safe.
- Prototype(ArtifactId) - Constructor for class org.apache.sling.feature.Prototype
-
Construct a new Include.
- provide(ArtifactId) - Method in interface org.apache.sling.feature.builder.ArtifactProvider
-
Provide the artifact with the given id.
- provide(ArtifactId) - Method in interface org.apache.sling.feature.builder.FeatureProvider
-
Provide the feature with the given id.
- provide(ArtifactId) - Method in class org.apache.sling.feature.io.artifacts.ArtifactManager
R
- read(InputStream, ArchiveReader.ArtifactConsumer) - Static method in class org.apache.sling.feature.io.archive.ArchiveReader
-
Read a feature model archive.
- read(Reader, String) - Static method in class org.apache.sling.feature.io.json.ConfigurationJSONReader
-
Read a map of configurations from the reader The reader is not closed.
- read(Reader, String) - Static method in class org.apache.sling.feature.io.json.FeatureJSONReader
-
Read a new feature from the reader The reader is not closed.
- removeExact(ArtifactId) - Method in class org.apache.sling.feature.Artifacts
-
Remove the exact artifact.
- removeSame(ArtifactId) - Method in class org.apache.sling.feature.Artifacts
-
Remove the same artifact, neglecting the version.
- REQUIRED - org.apache.sling.feature.ExtensionState
- resolve(BuilderContext, String...) - Static method in class org.apache.sling.feature.builder.FeatureBuilder
-
Resolve a set of features based on their ids.
- resolveVariables(Feature, Map<String, String>) - Static method in class org.apache.sling.feature.builder.FeatureBuilder
-
Resolve variables in the feature.
S
- setArtifactProvider(ArtifactProvider) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Set the artifact provider.
- setAssembled(boolean) - Method in class org.apache.sling.feature.Feature
-
Set the assembled flag
- setCacheDirectory(File) - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Set the cache directory
- setComplete(boolean) - Method in class org.apache.sling.feature.Feature
-
Set the complete flag
- setDescription(String) - Method in class org.apache.sling.feature.Feature
-
Set the description
- setFeatureOrigins(List<ArtifactId>) - Method in class org.apache.sling.feature.Configuration
-
Set the feature origins
- setFeatureOrigins(ArtifactId...) - Method in class org.apache.sling.feature.Artifact
- setFinal(boolean) - Method in class org.apache.sling.feature.Feature
-
Set the final flag
- setHandlerConfiguration(String, Map<String, String>) - Method in class org.apache.sling.feature.builder.BuilderContext
-
Set a handler configuration.
- setJSON(String) - Method in class org.apache.sling.feature.Extension
-
Set the JSON of the extension
- setJSONStructure(JsonStructure) - Method in class org.apache.sling.feature.Extension
-
Set the JSON structure of the extension
- setLicense(String) - Method in class org.apache.sling.feature.Feature
-
Set the vendor
- setLocation(String) - Method in class org.apache.sling.feature.Feature
-
Set the location.
- setPrototype(Prototype) - Method in class org.apache.sling.feature.Feature
-
Set the optional prototype feature.
- setRepositoryUrls(String[]) - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Set the repository urls
- setStartOrder(int) - Method in class org.apache.sling.feature.Artifact
-
Set the start order of the artifact This is a convenience method which sets the value of the property named
#KEY_START_ORDER
from the metadata. - setText(String) - Method in class org.apache.sling.feature.Extension
-
Set the text of the extension
- setTitle(String) - Method in class org.apache.sling.feature.Feature
-
Set the title
- setUseMvn(boolean) - Method in class org.apache.sling.feature.io.artifacts.ArtifactManagerConfig
-
Set whether mvn should be used to get artifacts.
- setVendor(String) - Method in class org.apache.sling.feature.Feature
-
Set the vendor
- shutdown() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManager
-
Shutdown the artifact manager.
- shutdown() - Method in interface org.apache.sling.feature.io.artifacts.spi.ArtifactProvider
-
Shutdown the provider.
T
- TEXT - org.apache.sling.feature.ExtensionType
- toFeatureProvider() - Method in class org.apache.sling.feature.io.artifacts.ArtifactManager
-
Return a feature provider based on this artifact manager
- toMvnId() - Method in class org.apache.sling.feature.ArtifactId
-
Return a mvn id
- toMvnName() - Method in class org.apache.sling.feature.ArtifactId
-
Create a Maven like repository name
- toMvnPath() - Method in class org.apache.sling.feature.ArtifactId
-
Create a Maven like relative repository path.
- toMvnUrl() - Method in class org.apache.sling.feature.ArtifactId
-
Return a mvn url
- toString() - Method in class org.apache.sling.feature.Artifact
- toString() - Method in class org.apache.sling.feature.ArtifactId
- toString() - Method in class org.apache.sling.feature.Configuration
- toString() - Method in class org.apache.sling.feature.Extension
- toString() - Method in class org.apache.sling.feature.Feature
- toString() - Method in class org.apache.sling.feature.Prototype
- TRANSIENT - org.apache.sling.feature.ExtensionState
V
- valueOf(String) - Static method in enum org.apache.sling.feature.ExtensionState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.feature.ExtensionType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.sling.feature.ExtensionState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.feature.ExtensionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION_HEADER - Static variable in class org.apache.sling.feature.io.archive.ArchiveWriter
-
The manifest header marking an archive as a feature archive.
- VERSION_OVERRIDE_ALL - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used in override rule to select all candidates.
- VERSION_OVERRIDE_FIRST - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used in override rule to select the first candidate applied.
- VERSION_OVERRIDE_HIGHEST - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used in override rule to select the candidate with the highest version (OSGi version comparison rules).
- VERSION_OVERRIDE_LATEST - Static variable in class org.apache.sling.feature.builder.BuilderContext
-
Used in override rule to select the last candidate applied.
W
- write(OutputStream, Manifest, ArtifactProvider, Feature...) - Static method in class org.apache.sling.feature.io.archive.ArchiveWriter
-
Create a feature model archive.
- write(Writer, Configurations) - Static method in class org.apache.sling.feature.io.json.ConfigurationJSONWriter
-
Writes the configurations to the writer.
- write(Writer, Feature) - Static method in class org.apache.sling.feature.io.json.FeatureJSONWriter
-
Writes the feature to the writer.
- writeConfiguration(Writer, Dictionary<String, Object>) - Static method in class org.apache.sling.feature.io.ConfiguratorUtil
-
Deprecated.Write the OSGi configuration to a JSON structure.
- writeConfiguration(JsonGenerator, Dictionary<String, Object>) - Static method in class org.apache.sling.feature.io.ConfiguratorUtil
-
Deprecated.
All Classes All Packages