Uses of Class
org.apache.sling.feature.ArtifactId
-
Packages that use ArtifactId Package Description org.apache.sling.feature org.apache.sling.feature.builder org.apache.sling.feature.io.archive org.apache.sling.feature.io.artifacts -
-
Uses of ArtifactId in org.apache.sling.feature
Methods in org.apache.sling.feature that return ArtifactId Modifier and Type Method Description ArtifactIdArtifactId. changeClassifier(String newClassifier)Provide artifact id with a different classifier.ArtifactIdArtifactId. changeType(String newType)Provide artifact id with a different type.ArtifactIdArtifactId. changeVersion(String newVersion)Provide artifact id with a different version.static ArtifactIdArtifactId. fromMvnId(String coordinates)Create a new artifact id from maven coordinates/id groupId:artifactId[:packaging[:classifier]]:versionstatic ArtifactIdArtifactId. fromMvnPath(String path)Create a new artifact id from a maven path The schema isgroupIdPath/artifactId/version/artifactId-version[-classifier].typestatic ArtifactIdArtifactId. fromMvnUrl(String url)Create a new artifact id from a maven url, 'mvn:' group-id '/' artifact-id [ '/' [version] [ '/' [type] [ '/' classifier ] ] ] ]ArtifactId[]Artifact. getFeatureOrigins()ArtifactIdArtifact. getId()Get the id of the artifact.ArtifactIdFeature. getId()Get the id of the artifact.ArtifactIdPrototype. getId()Get the id of the artifact.static ArtifactIdArtifactId. parse(String s)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 ArtifactId Modifier and Type Method Description Set<ArtifactId>Artifact. getAliases(boolean includeMain)Obtain the alias or aliases for the artifact.Map<String,List<ArtifactId>>Prototype. getArtifactExtensionRemovals()Get the list of artifacts removed from extensions The returned object is modifiable.List<ArtifactId>Prototype. getBundleRemovals()Get the list of artifact removals The returned object is modifiable.Methods in org.apache.sling.feature with parameters of type ArtifactId Modifier and Type Method Description intArtifactId. compareTo(ArtifactId o)booleanArtifacts. containsExact(ArtifactId id)Checks whether the exact artifact is availablebooleanArtifacts. containsSame(ArtifactId id)Checks whether the same artifact is available, neglecting the versionArtifactArtifact. copy(ArtifactId id)Create a copy of the artifact with a different idFeatureFeature. 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.ArtifactArtifacts. getExact(ArtifactId id)Get the artifact for the given idArtifactArtifacts. getSame(ArtifactId id)Get the artifact for the given id, neglecting the versionbooleanArtifactId. isSame(ArtifactId id)Test whether the artifact id is pointing to the same artifact but potentially a different versionbooleanArtifacts. removeExact(ArtifactId id)Remove the exact artifact.booleanArtifacts. removeSame(ArtifactId id)Remove the same artifact, neglecting the version.voidArtifact. setFeatureOrigins(ArtifactId... featureOrigins)Constructors in org.apache.sling.feature with parameters of type ArtifactId Constructor Description Artifact(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 ArtifactId Modifier and Type Method Description BuilderContextBuilderContext. addArtifactsOverride(ArtifactId override)Add an override for artifact clashes.static FeatureFeatureBuilder. assemble(ArtifactId featureId, BuilderContext context, Feature... features)Assemble a feature based on the provided features.URLArtifactProvider. provide(ArtifactId id)Provide the artifact with the given id.FeatureFeatureProvider. 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 ArtifactId Modifier and Type Method Description voidArchiveReader.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 Modifier and Type Method Description URLArtifactManager. provide(ArtifactId id)
-