|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.subversion.javahl.types.ExternalItem
public class ExternalItem
Describes one external item declaration
Constructor Summary | |
---|---|
ExternalItem(String targetDir,
String url,
Revision revision,
Revision pegRevision)
Create a new external item declaration. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Compare to another external item. |
Revision |
getPegRevision()
The peg revision to use when checking out. |
Revision |
getRevision()
What revision to check out. |
String |
getTargetDir()
The name of the subdirectory into which this external should be checked out. |
String |
getUrl()
Where to check out from. |
int |
hashCode()
Return a hash code for this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExternalItem(String targetDir, String url, Revision revision, Revision pegRevision) throws SubversionException
Note: If both revision
and
pegRevision
are null
, they will be
interpreted as Revision.HEAD
. If only one of them is
null
, it will get the same value as the other
revision.
targetDir
- See getTargetDir()
url
- See getUrl()
revision
- See getRevision()
;
null
will be interpreted as pegRevision
pegRevision
- See getPegRevision()
;
null
will be interpreted as Revision.HEAD
SubversionException
Method Detail |
---|
public String getTargetDir()
public String getUrl()
public Revision getRevision()
Revision.Number
, a date
Revision.DateSpec
, or Revision.HEAD
.
public Revision getPegRevision()
Revision.Number
, a date
Revision.DateSpec
, or Revision.HEAD
.
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |