org.apache.maven.artifact
Class ArtifactStatus

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

public final class ArtifactStatus
extends Object
implements Comparable<ArtifactStatus>

Type safe enumeration for the artifact status field.

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(ArtifactStatus s)
           
 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(ArtifactStatus s)
Specified by:
compareTo in interface Comparable<ArtifactStatus>


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