Package org.tigris.subversion.javahl
Class Info
java.lang.Object
org.tigris.subversion.javahl.Info
- All Implemented Interfaces:
Serializable
Give information about one subversion item (file or directory) in the
working copy
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
the item is absentprivate String
the author of the last commit before baseprivate boolean
the item was copiedprivate long
the copy source revisionprivate String
the copy source urlprivate boolean
the item was deletedprivate boolean
the item is incompleteprivate Date
the date of the last commitprivate long
the last revision the item before baseprivate Date
the last up-to-date time for the propertiesprivate Date
the last up-to-date time for the text contextprivate String
the name of the itemprivate int
the kind of node (file or directory or unknownprivate String
the repository urlprivate long
the last revision this item was updatedprivate int
the schedule on the next commit (see NodeKind)private static final long
private String
the url of the itemprivate String
the uuid of the repository -
Constructor Summary
ConstructorsConstructorDescriptionInfo
(String name, String url, String uuid, String repository, int schedule, int nodeKind, String author, long revision, long lastChangedRevision, Date lastChangedDate, Date lastDateTextUpdate, Date lastDatePropsUpdate, boolean copied, boolean deleted, boolean absent, boolean incomplete, long copyRev, String copyUrl) Constructor to be called only by the native codeA backward-compat constructor -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
checkAbsent
(String path) private static boolean
checkIncomplete
(String path) See if the path is incomplete.Retrieves the author of the last commitlong
Retrieves the copy source revisionRetrieves the copy source urlRetrieves the date of the last commitlong
Retrieves the revision of the last commitRetrieves the last date the properties were changedRetrieves the last date the text content was changedgetName()
Retrieves the name of the itemint
Retrieves the nodeKindRetrieves the url of the repositorylong
Retrieves the last revision the item was updated toint
Retrieves the schedule of the next commitgetUrl()
Retrieves the url of the itemgetUuid()
Retrieves the uuid of the repositoryboolean
isAbsent()
Retrieve if the item is absentboolean
isCopied()
Retrieve if the item was copiedboolean
Retrieve if the item was deletedboolean
Retrieve if the item is incomplete
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
name
the name of the item -
url
the url of the item -
uuid
the uuid of the repository -
repository
the repository url -
schedule
private int schedulethe schedule on the next commit (see NodeKind) -
nodeKind
private int nodeKindthe kind of node (file or directory or unknown -
author
the author of the last commit before base -
revision
private long revisionthe last revision this item was updated -
lastChangedRevision
private long lastChangedRevisionthe last revision the item before base -
lastChangedDate
the date of the last commit -
lastDateTextUpdate
the last up-to-date time for the text context -
lastDatePropsUpdate
the last up-to-date time for the properties -
copied
private boolean copiedthe item was copied -
deleted
private boolean deletedthe item was deleted -
absent
private boolean absentthe item is absent -
incomplete
private boolean incompletethe item is incomplete -
copyRev
private long copyRevthe copy source revision -
copyUrl
the copy source url
-
-
Constructor Details
-
Info
Info(String name, String url, String uuid, String repository, int schedule, int nodeKind, String author, long revision, long lastChangedRevision, Date lastChangedDate, Date lastDateTextUpdate, Date lastDatePropsUpdate, boolean copied, boolean deleted, boolean absent, boolean incomplete, long copyRev, String copyUrl) Constructor to be called only by the native code- Parameters:
name
- name of the itemurl
- url of the itemuuid
- uuid of the repositoryrepository
- url of the repositoryauthor
- author of the last changerevision
- revision of the last updatelastChangedRevision
- revision of the last changelastChangedDate
- the date of the last changelastDateTextUpdate
- the date of the last text changelastDatePropsUpdate
- the date of the last property changecopied
- is the item copieddeleted
- is the item deletedabsent
- is the item absentincomplete
- is the item incompletecopyRev
- copy source revisioncopyUrl
- copy source url
-
Info
A backward-compat constructor
-
-
Method Details
-
checkAbsent
-
checkIncomplete
See if the path is incomplete. We currently have no way of getting this information from the existing info struct, so just return false. -
getName
Retrieves the name of the item- Returns:
- name of the item
-
getUrl
Retrieves the url of the item- Returns:
- url of the item
-
getUuid
Retrieves the uuid of the repository- Returns:
- uuid of the repository
-
getRepository
Retrieves the url of the repository- Returns:
- url of the repository
-
getSchedule
public int getSchedule()Retrieves the schedule of the next commit- Returns:
- schedule of the next commit
-
getNodeKind
public int getNodeKind()Retrieves the nodeKind- Returns:
- nodeKind
-
getAuthor
Retrieves the author of the last commit- Returns:
- author of the last commit
-
getRevision
public long getRevision()Retrieves the last revision the item was updated to- Returns:
- last revision the item was updated to
-
getLastChangedRevision
public long getLastChangedRevision()Retrieves the revision of the last commit- Returns:
- the revision of the last commit
-
getLastChangedDate
Retrieves the date of the last commit- Returns:
- the date of the last commit
-
getLastDateTextUpdate
Retrieves the last date the text content was changed- Returns:
- last date the text content was changed
-
getLastDatePropsUpdate
Retrieves the last date the properties were changed- Returns:
- last date the properties were changed
-
isCopied
public boolean isCopied()Retrieve if the item was copied- Returns:
- the item was copied
-
isDeleted
public boolean isDeleted()Retrieve if the item was deleted- Returns:
- the item was deleted
-
isAbsent
public boolean isAbsent()Retrieve if the item is absent- Returns:
- the item is absent
-
isIncomplete
public boolean isIncomplete()Retrieve if the item is incomplete- Returns:
- the item is incomplete
-
getCopyRev
public long getCopyRev()Retrieves the copy source revision- Returns:
- copy source revision
-
getCopyUrl
Retrieves the copy source url- Returns:
- copy source url
-