public class Info
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
absent
the item is absent
|
private java.lang.String |
author
the author of the last commit before base
|
private boolean |
copied
the item was copied
|
private long |
copyRev
the copy source revision
|
private java.lang.String |
copyUrl
the copy source url
|
private boolean |
deleted
the item was deleted
|
private boolean |
incomplete
the item is incomplete
|
private java.util.Date |
lastChangedDate
the date of the last commit
|
private long |
lastChangedRevision
the last revision the item before base
|
private java.util.Date |
lastDatePropsUpdate
the last up-to-date time for the properties
|
private java.util.Date |
lastDateTextUpdate
the last up-to-date time for the text context
|
private java.lang.String |
name
the name of the item
|
private int |
nodeKind
the kind of node (file or directory or unknown
|
private java.lang.String |
repository
the repository url
|
private long |
revision
the last revision this item was updated
|
private int |
schedule
the schedule on the next commit (see NodeKind)
|
private static long |
serialVersionUID |
private java.lang.String |
url
the url of the item
|
private java.lang.String |
uuid
the uuid of the repository
|
Constructor and Description |
---|
Info(Info aInfo)
A backward-compat constructor
|
Info(java.lang.String name,
java.lang.String url,
java.lang.String uuid,
java.lang.String repository,
int schedule,
int nodeKind,
java.lang.String author,
long revision,
long lastChangedRevision,
java.util.Date lastChangedDate,
java.util.Date lastDateTextUpdate,
java.util.Date lastDatePropsUpdate,
boolean copied,
boolean deleted,
boolean absent,
boolean incomplete,
long copyRev,
java.lang.String copyUrl)
Constructor to be called only by the native code
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
checkAbsent(java.lang.String path) |
private static boolean |
checkIncomplete(java.lang.String path)
See if the path is incomplete.
|
java.lang.String |
getAuthor()
Retrieves the author of the last commit
|
long |
getCopyRev()
Retrieves the copy source revision
|
java.lang.String |
getCopyUrl()
Retrieves the copy source url
|
java.util.Date |
getLastChangedDate()
Retrieves the date of the last commit
|
long |
getLastChangedRevision()
Retrieves the revision of the last commit
|
java.util.Date |
getLastDatePropsUpdate()
Retrieves the last date the properties were changed
|
java.util.Date |
getLastDateTextUpdate()
Retrieves the last date the text content was changed
|
java.lang.String |
getName()
Retrieves the name of the item
|
int |
getNodeKind()
Retrieves the nodeKind
|
java.lang.String |
getRepository()
Retrieves the url of the repository
|
long |
getRevision()
Retrieves the last revision the item was updated to
|
int |
getSchedule()
Retrieves the schedule of the next commit
|
java.lang.String |
getUrl()
Retrieves the url of the item
|
java.lang.String |
getUuid()
Retrieves the uuid of the repository
|
boolean |
isAbsent()
Retrieve if the item is absent
|
boolean |
isCopied()
Retrieve if the item was copied
|
boolean |
isDeleted()
Retrieve if the item was deleted
|
boolean |
isIncomplete()
Retrieve if the item is incomplete
|
private static final long serialVersionUID
private java.lang.String name
private java.lang.String url
private java.lang.String uuid
private java.lang.String repository
private int schedule
private int nodeKind
private java.lang.String author
private long revision
private long lastChangedRevision
private java.util.Date lastChangedDate
private java.util.Date lastDateTextUpdate
private java.util.Date lastDatePropsUpdate
private boolean copied
private boolean deleted
private boolean absent
private boolean incomplete
private long copyRev
private java.lang.String copyUrl
Info(java.lang.String name, java.lang.String url, java.lang.String uuid, java.lang.String repository, int schedule, int nodeKind, java.lang.String author, long revision, long lastChangedRevision, java.util.Date lastChangedDate, java.util.Date lastDateTextUpdate, java.util.Date lastDatePropsUpdate, boolean copied, boolean deleted, boolean absent, boolean incomplete, long copyRev, java.lang.String copyUrl)
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 urlpublic Info(Info aInfo)
private static boolean checkAbsent(java.lang.String path)
private static boolean checkIncomplete(java.lang.String path)
public java.lang.String getName()
public java.lang.String getUrl()
public java.lang.String getUuid()
public java.lang.String getRepository()
public int getSchedule()
public int getNodeKind()
public java.lang.String getAuthor()
public long getRevision()
public long getLastChangedRevision()
public java.util.Date getLastChangedDate()
public java.util.Date getLastDateTextUpdate()
public java.util.Date getLastDatePropsUpdate()
public boolean isCopied()
public boolean isDeleted()
public boolean isAbsent()
public boolean isIncomplete()
public long getCopyRev()
public java.lang.String getCopyUrl()