Uses of Class
org.apache.sling.feature.ArtifactId
Packages that use ArtifactId
Package
Description
-
Uses of ArtifactId in org.apache.sling.feature
Methods in org.apache.sling.feature that return ArtifactIdModifier and TypeMethodDescriptionArtifactId.changeClassifier
(String newClassifier) Provide artifact id with a different classifier.ArtifactId.changeType
(String newType) Provide artifact id with a different type.ArtifactId.changeVersion
(String newVersion) Provide artifact id with a different version.static ArtifactId
Create a new artifact id from maven coordinates/id groupId:artifactId[:packaging[:classifier]]:versionstatic ArtifactId
ArtifactId.fromMvnPath
(String path) Create a new artifact id from a maven path The schema isgroupIdPath/artifactId/version/artifactId-version[-classifier].type
static ArtifactId
ArtifactId.fromMvnUrl
(String url) Create a new artifact id from a maven url, 'mvn:' group-id '/' artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] ] ] ]Artifact.getFeatureOrigins()
Get the feature origins - if recordedArtifact.getFeatureOrigins
(ArtifactId self) Get the feature origins If no origins are recorded, the provided artifact id is returnedArtifact.getId()
Get the id of the artifact.Feature.getId()
Get the id of the artifact.Prototype.getId()
Get the id of the artifact.static ArtifactId
Create a new artifact id from a string, the string must either be a mvn url or a mvn id (= coordinates)Methods in org.apache.sling.feature that return types with arguments of type ArtifactIdModifier and TypeMethodDescriptionArtifact.getAliases
(boolean includeMain) Obtain the alias or aliases for the artifact.Prototype.getArtifactExtensionRemovals()
Get the list of artifacts removed from extensions The returned object is modifiable.Prototype.getBundleRemovals()
Get the list of artifact removals The returned object is modifiable.Configuration.getFeatureOrigins()
Get the feature origins - if recordedConfiguration.getFeatureOrigins
(String propertyName) Get the feature origins for a property - if recordedConfiguration.getFeatureOrigins
(String propertyName, ArtifactId self) Get the feature origins for a property.Configuration.getFeatureOrigins
(ArtifactId self) Get the feature origins.Feature.getFeatureOrigins
(Map<String, Object> metadata) Get the feature origins for the metadata- if recordedMethods in org.apache.sling.feature with parameters of type ArtifactIdModifier and TypeMethodDescriptionint
ArtifactId.compareTo
(ArtifactId o) boolean
Artifacts.containsExact
(ArtifactId id) Checks whether the exact artifact is availableboolean
Artifacts.containsSame
(ArtifactId id) Checks whether the same artifact is available, neglecting the versionArtifact.copy
(ArtifactId id) Create a copy of the artifact with a different idFeature.copy
(ArtifactId id) Create a copy of the feature with a different id For contained items like bundles, artifacts and configurations a copy is created as well.Artifacts.getExact
(ArtifactId id) Get the artifact for the given idArtifact.getFeatureOrigins
(ArtifactId self) Get the feature origins If no origins are recorded, the provided artifact id is returnedConfiguration.getFeatureOrigins
(String propertyName, ArtifactId self) Get the feature origins for a property.Configuration.getFeatureOrigins
(ArtifactId self) Get the feature origins.Artifacts.getSame
(ArtifactId id) Get the artifact for the given id, neglecting the versionboolean
ArtifactId.isSame
(ArtifactId id) Test whether the artifact id is pointing to the same artifact but potentially a different versionboolean
Artifacts.removeExact
(ArtifactId id) Remove the exact artifact.boolean
Artifacts.removeSame
(ArtifactId id) Remove the same artifact, neglecting the version.void
Artifact.setFeatureOrigins
(ArtifactId... featureOrigins) Set the feature originsMethod parameters in org.apache.sling.feature with type arguments of type ArtifactIdModifier and TypeMethodDescriptionvoid
Configuration.setFeatureOrigins
(String propertyName, List<ArtifactId> featureOrigins) Set the feature origins for a propertyvoid
Configuration.setFeatureOrigins
(List<ArtifactId> featureOrigins) Set the feature originsvoid
Feature.setFeatureOrigins
(Map<String, Object> metadata, List<ArtifactId> featureOrigins) Set the feature origins for the metadataConstructors in org.apache.sling.feature with parameters of type ArtifactIdModifierConstructorDescriptionArtifact
(ArtifactId id) Construct a new artifactFeature
(ArtifactId id) Construct a new feature.Prototype
(ArtifactId id) Construct a new Include. -
Uses of ArtifactId in org.apache.sling.feature.builder
Methods in org.apache.sling.feature.builder with parameters of type ArtifactIdModifier and TypeMethodDescriptionBuilderContext.addArtifactsOverride
(ArtifactId override) Add an override for artifact clashes.static Feature
FeatureBuilder.assemble
(ArtifactId featureId, BuilderContext context, Feature... features) Assemble a feature based on the provided features.ArtifactProvider.provide
(ArtifactId id) Provide the artifact with the given id.FeatureProvider.provide
(ArtifactId id) Provide the feature with the given id. -
Uses of ArtifactId in org.apache.sling.feature.io.archive
Methods in org.apache.sling.feature.io.archive with parameters of type ArtifactIdModifier and TypeMethodDescriptionvoid
ArchiveReader.ArtifactConsumer.consume
(ArtifactId artifactId, InputStream is) Consume the artifact from the archive The input stream must not be closed by the consumer. -
Uses of ArtifactId in org.apache.sling.feature.io.artifacts
Methods in org.apache.sling.feature.io.artifacts with parameters of type ArtifactId