|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.spi.vcs.VcsStatusProvider
The provider of VCS attributes of the file. These describes the status of the working file with respect to its repository version. Any method that returns the string representation of an VCS attribute of a file may return an empty string if that information is not available from the given version control system.
Constructor Summary | |
VcsStatusProvider()
|
Method Summary | |
static VcsStatusProvider |
findProvider(FileObject file)
Find the status provider for a FileObject. |
abstract FileStatusInfo[] |
getPossibleStates()
Get the array of all possible file states. |
abstract FileStatusInfo |
getStatus(String filePath)
Get the status of a file. |
abstract boolean |
isLocal(String filePath)
Find out whether the file is local (is not version controlled) |
abstract void |
refresh(String path,
boolean recursive)
Refresh the file state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VcsStatusProvider()
Method Detail |
public static VcsStatusProvider findProvider(FileObject file)
public abstract FileStatusInfo[] getPossibleStates()
public abstract FileStatusInfo getStatus(String filePath)
filePath
- the path of the file from filesystem root.
null
if the status is not known. Use refresh to update
the status information.public abstract boolean isLocal(String filePath)
filePath
- the path of the file from filesystem root.public abstract void refresh(String path, boolean recursive)
path
- the path of the file from filesystem root.recursive
- whether to perform a recursive refresh when called on a folder.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |