@Component(role=ArtifactFactory.class) public class DefaultArtifactFactory extends Object implements ArtifactFactory
ROLE
Constructor and Description |
---|
DefaultArtifactFactory() |
Modifier and Type | Method and Description |
---|---|
Artifact |
createArtifact(String groupId,
String artifactId,
String version,
String scope,
String type) |
Artifact |
createArtifactWithClassifier(String groupId,
String artifactId,
String version,
String type,
String classifier) |
Artifact |
createBuildArtifact(String groupId,
String artifactId,
String version,
String packaging) |
Artifact |
createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope) |
Artifact |
createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
boolean optional) |
Artifact |
createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
String inheritedScope) |
Artifact |
createDependencyArtifact(String groupId,
String artifactId,
VersionRange versionRange,
String type,
String classifier,
String scope,
String inheritedScope,
boolean optional) |
Artifact |
createExtensionArtifact(String groupId,
String artifactId,
VersionRange versionRange) |
Artifact |
createParentArtifact(String groupId,
String artifactId,
String version) |
Artifact |
createPluginArtifact(String groupId,
String artifactId,
VersionRange versionRange) |
Artifact |
createProjectArtifact(String groupId,
String artifactId,
String version) |
Artifact |
createProjectArtifact(String groupId,
String artifactId,
String version,
String scope) |
public DefaultArtifactFactory()
public Artifact createArtifact(String groupId, String artifactId, String version, String scope, String type)
createArtifact
in interface ArtifactFactory
public Artifact createArtifactWithClassifier(String groupId, String artifactId, String version, String type, String classifier)
createArtifactWithClassifier
in interface ArtifactFactory
public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope)
createDependencyArtifact
in interface ArtifactFactory
public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, boolean optional)
createDependencyArtifact
in interface ArtifactFactory
public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope)
createDependencyArtifact
in interface ArtifactFactory
public Artifact createDependencyArtifact(String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope, String inheritedScope, boolean optional)
createDependencyArtifact
in interface ArtifactFactory
public Artifact createBuildArtifact(String groupId, String artifactId, String version, String packaging)
createBuildArtifact
in interface ArtifactFactory
public Artifact createProjectArtifact(String groupId, String artifactId, String version)
createProjectArtifact
in interface ArtifactFactory
public Artifact createParentArtifact(String groupId, String artifactId, String version)
createParentArtifact
in interface ArtifactFactory
public Artifact createPluginArtifact(String groupId, String artifactId, VersionRange versionRange)
createPluginArtifact
in interface ArtifactFactory
public Artifact createProjectArtifact(String groupId, String artifactId, String version, String scope)
createProjectArtifact
in interface ArtifactFactory
public Artifact createExtensionArtifact(String groupId, String artifactId, VersionRange versionRange)
createExtensionArtifact
in interface ArtifactFactory
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.