public class ClassifierTypeTranslator extends Object implements ArtifactTranslator
Constructor and Description |
---|
ClassifierTypeTranslator(ArtifactHandlerManager artifactHanderManager,
String theClassifier,
String theType) |
Modifier and Type | Method and Description |
---|---|
String |
getClassifier() |
String |
getType() |
void |
setClassifier(String theClassifier) |
void |
setType(String theType) |
Set<ArtifactCoordinate> |
translate(Set<Artifact> artifacts,
Log log) |
public ClassifierTypeTranslator(ArtifactHandlerManager artifactHanderManager, String theClassifier, String theType)
artifactHanderManager
- ArtifactHandlerManager
.theClassifier
- The classifier to use.theType
- The type.public Set<ArtifactCoordinate> translate(Set<Artifact> artifacts, Log log)
translate
in interface ArtifactTranslator
artifacts
- set of Artifact
s.log
- Log
ArtifactCoordinate
public String getType()
public void setType(String theType)
theType
- The type to set.public String getClassifier()
public void setClassifier(String theClassifier)
theClassifier
- The classifier to set.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.