org.apache.archiva.configuration
Class LegacyArtifactPath

java.lang.Object
  extended by org.apache.archiva.configuration.LegacyArtifactPath
All Implemented Interfaces:
Serializable

public class LegacyArtifactPath
extends Object
implements Serializable

Class LegacyArtifactPath.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  String artifact
          The artifact reference, as " [groupId] : [artifactId] : [version] : [classifier] : [type] ".
private  String path
          The legacy path.
 
Constructor Summary
LegacyArtifactPath()
           
 
Method Summary
 boolean equals(Object o)
           
 String getArtifact()
          Get the artifact reference, as " [groupId] : [artifactId] : [version] : [classifier] : [type] ".
 String getArtifactId()
           
 String getClassifier()
           
 String getGroupId()
           
 String getPath()
          Get the legacy path.
 String getType()
           
 String getVersion()
           
 int hashCode()
           
 boolean match(String path)
           
 void setArtifact(String artifact)
          Set the artifact reference, as " [groupId] : [artifactId] : [version] : [classifier] : [type] ".
 void setPath(String path)
          Set the legacy path.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

private String path
The legacy path.


artifact

private String artifact
The artifact reference, as " [groupId] : [artifactId] : [version] : [classifier] : [type] ".

Constructor Detail

LegacyArtifactPath

public LegacyArtifactPath()
Method Detail

getArtifact

public String getArtifact()
Get the artifact reference, as " [groupId] : [artifactId] : [version] : [classifier] : [type] ".

Returns:
String

getPath

public String getPath()
Get the legacy path.

Returns:
String

setArtifact

public void setArtifact(String artifact)
Set the artifact reference, as " [groupId] : [artifactId] : [version] : [classifier] : [type] ".

Parameters:
artifact -

setPath

public void setPath(String path)
Set the legacy path.

Parameters:
path -

match

public boolean match(String path)

getGroupId

public String getGroupId()

getArtifactId

public String getArtifactId()

getVersion

public String getVersion()

getClassifier

public String getClassifier()

getType

public String getType()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.