|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.core.cache.ArtifactOrigin
public class ArtifactOrigin
This class contains information about the origin of an artifact.
BasicResolver
,
ResolvedResource
Field Summary | |
---|---|
static ArtifactOrigin |
UNKNOWN
ArtifactOrigin instance used when the origin is unknown. |
Constructor Summary | |
---|---|
ArtifactOrigin(boolean isLocal,
java.lang.String location)
Create a new instance |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getLocation()
Return the location of the resource (normally a url) |
int |
hashCode()
|
boolean |
isLocal()
Is this resource local to this host, i.e. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ArtifactOrigin UNKNOWN
Constructor Detail |
---|
public ArtifactOrigin(boolean isLocal, java.lang.String location)
isLocal
- boolean
value indicating if the resource is local (on the
filesystem).location
- the location of the resource (normally a url)Method Detail |
---|
public boolean isLocal()
boolean
value indicating if the resource is local.public java.lang.String getLocation()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |