org.apache.maven.artifact
Class ArtifactStatus

java.lang.Object
  extended by org.apache.maven.artifact.ArtifactStatus
All Implemented Interfaces:
Comparable

public final class ArtifactStatus
extends Object
implements Comparable

Type safe enumeration for the artifact status field.

Version:
$Id: ArtifactStatus.java 640549 2008-03-24 20:05:11Z bentmann $
Author:
Brett Porter

Field Summary
static ArtifactStatus CONVERTED
          Low trust - was converted from the Maven 1.x repository.
static ArtifactStatus DEPLOYED
          Moderate trust - it was deployed directly by a user.
static ArtifactStatus GENERATED
          No trust - information was generated with defaults.
static ArtifactStatus NONE
          No trust - no information about status.
static ArtifactStatus PARTNER
          Moderate trust - it was deployed directly from a partner.
static ArtifactStatus VERIFIED
          Trusted, as it has had its data verified by hand.
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
           
static ArtifactStatus valueOf(String status)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final ArtifactStatus NONE
No trust - no information about status.


GENERATED

public static final ArtifactStatus GENERATED
No trust - information was generated with defaults.


CONVERTED

public static final ArtifactStatus CONVERTED
Low trust - was converted from the Maven 1.x repository.


PARTNER

public static final ArtifactStatus PARTNER
Moderate trust - it was deployed directly from a partner.


DEPLOYED

public static final ArtifactStatus DEPLOYED
Moderate trust - it was deployed directly by a user.


VERIFIED

public static final ArtifactStatus VERIFIED
Trusted, as it has had its data verified by hand.

Method Detail

valueOf

public static ArtifactStatus valueOf(String status)

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

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.