org.apache.archiva.admin.model.beans
Class LegacyArtifactPath

java.lang.Object
  extended by org.apache.archiva.admin.model.beans.LegacyArtifactPath
All Implemented Interfaces:
Serializable

public class LegacyArtifactPath
extends Object
implements Serializable

Since:
1.4-M1
Author:
Olivier Lamy
See Also:
Serialized Form

Field Summary
private  String artifact
          The artifact reference, as " [groupId] : [artifactId] : [version] : [classifier] : [type] ".
private  String artifactId
           
private  String classifier
           
private  String groupId
           
private  String path
          The legacy path.
private  String type
           
private  String version
           
 
Constructor Summary
LegacyArtifactPath()
           
LegacyArtifactPath(String path, String artifact)
           
 
Method Summary
 boolean equals(Object o)
           
 String getArtifact()
           
 String getArtifactId()
           
 String getClassifier()
           
 String getGroupId()
           
 String getPath()
           
 String getType()
           
 String getVersion()
           
 int hashCode()
           
private  void initValues(String artifact)
           
 boolean match(String path)
           
 void setArtifact(String artifact)
           
 void setArtifactId(String artifactId)
           
 void setGroupId(String groupId)
           
 void setPath(String path)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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] ".


groupId

private String groupId

artifactId

private String artifactId

version

private String version

classifier

private String classifier

type

private String type
Constructor Detail

LegacyArtifactPath

public LegacyArtifactPath()

LegacyArtifactPath

public LegacyArtifactPath(String path,
                          String artifact)
Method Detail

initValues

private void initValues(String artifact)

getPath

public String getPath()

setPath

public void setPath(String path)

getArtifact

public String getArtifact()

setArtifact

public void setArtifact(String artifact)

match

public boolean match(String path)

setGroupId

public void setGroupId(String groupId)

getGroupId

public String getGroupId()

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String artifactId)

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

toString

public String toString()
Overrides:
toString in class Object


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