| java.lang.Object org.netbeans.modules.subversion.FileInformation
FileInformation | public class FileInformation implements Serializable(Code) | | Immutable class encapsulating status of a file.
author: Maros Sandor |
STATUS_ALL | final public static int STATUS_ALL(Code) | | |
STATUS_IN_REPOSITORY | final public static int STATUS_IN_REPOSITORY(Code) | | |
STATUS_LOCAL_CHANGE | final public static int STATUS_LOCAL_CHANGE(Code) | | |
STATUS_LOCKED | final public static int STATUS_LOCKED(Code) | | The file has an active lock against it.
|
STATUS_MANAGED | final public static int STATUS_MANAGED(Code) | | All statuses except STATUS_NOTVERSIONED_NOTMANAGED
Note: it covers ignored files.
|
STATUS_NOTVERSIONED_EXCLUDED | final public static int STATUS_NOTVERSIONED_EXCLUDED(Code) | | The file exists locally but is NOT under version control because it should not be (i.e. is has
the Ignore property set or resides under an excluded folder). The file itself IS under a versioned root.
|
STATUS_NOTVERSIONED_NEWLOCALLY | final public static int STATUS_NOTVERSIONED_NEWLOCALLY(Code) | | The file exists locally but is NOT under version control, mostly because it has not been added
to the repository yet.
|
STATUS_NOTVERSIONED_NOTMANAGED | final public static int STATUS_NOTVERSIONED_NOTMANAGED(Code) | | The file is not managed by the module, i.e. the user does not wish it to be under control of this
versioning system module. All files except files under versioned roots have this status.
|
STATUS_REMOTE_CHANGE | final public static int STATUS_REMOTE_CHANGE(Code) | | |
STATUS_REVERTIBLE_CHANGE | final public static int STATUS_REVERTIBLE_CHANGE(Code) | | Modified, in conflict, scheduled for removal or addition;
or deleted but with existing entry record.
|
STATUS_UNKNOWN | final public static int STATUS_UNKNOWN(Code) | | There is nothing known about the file, it may not even exist.
|
STATUS_VERSIONED | final public static int STATUS_VERSIONED(Code) | | Has local metadata under .svn/
|
STATUS_VERSIONED_ADDEDLOCALLY | final public static int STATUS_VERSIONED_ADDEDLOCALLY(Code) | | The file exists locally and has beed scheduled for addition to repository. This status represents
state after the 'add' command.
|
STATUS_VERSIONED_CONFLICT | final public static int STATUS_VERSIONED_CONFLICT(Code) | | Merging during update resulted in merge conflict. Conflicts in the local copy must be resolved before
the file can be commited.
|
STATUS_VERSIONED_DELETEDLOCALLY | final public static int STATUS_VERSIONED_DELETEDLOCALLY(Code) | | The file does NOT exist locally and exists in repository, it has beed removed locally.
|
STATUS_VERSIONED_MERGE | final public static int STATUS_VERSIONED_MERGE(Code) | | The file was modified both locally and remotely and these changes may or may not result in
merge conflict.
|
STATUS_VERSIONED_MODIFIEDINREPOSITORY | final public static int STATUS_VERSIONED_MODIFIEDINREPOSITORY(Code) | | The file was not modified locally but an updated version exists in repository.
|
STATUS_VERSIONED_MODIFIEDLOCALLY | final public static int STATUS_VERSIONED_MODIFIEDLOCALLY(Code) | | The file is modified locally and was not yet modified in repository.
|
STATUS_VERSIONED_NEWINREPOSITORY | final public static int STATUS_VERSIONED_NEWINREPOSITORY(Code) | | The file does NOT exist locally but exists in repository and has not yet been downloaded.
|
STATUS_VERSIONED_REMOVEDINREPOSITORY | final public static int STATUS_VERSIONED_REMOVEDINREPOSITORY(Code) | | The file has been removed from repository.
|
STATUS_VERSIONED_REMOVEDLOCALLY | final public static int STATUS_VERSIONED_REMOVEDLOCALLY(Code) | | The file does NOT exist locally and exists in repository, it has beed removed locally, waits
for commit.
|
STATUS_VERSIONED_UPTODATE | final public static int STATUS_VERSIONED_UPTODATE(Code) | | The file is under version control and is in sync with repository.
|
FileInformation | public FileInformation()(Code) | | For deserialization purposes only.
|
FileInformation | FileInformation(int status, ISVNStatus entry)(Code) | | |
FileInformation | FileInformation(int status, boolean isDirectory)(Code) | | |
FileInformation | FileInformation(int status, int propStatus, boolean isDirectory)(Code) | | |
getEntry | public ISVNStatus getEntry(File file)(Code) | | Retrieves file's Entry.
Parameters: file - file this information belongs to or null if you do not want the entry to be read from disk in case it is not loaded yet Status parsed entry form the .svn/entries file or null if the file does not exist,is not versioned or its entry is invalid |
getShortStatusText | public String getShortStatusText()(Code) | | short status name for local changes, for remotechanges returns "" |
getStatus | public int getStatus()(Code) | | Retrieves the status constant representing status of the file.
one of status constants |
getStatusText | public String getStatusText()(Code) | | Returns localized text representation of status.
status name, for multistatuses prefers localstatus name. |
getStatusText | public String getStatusText(int displayStatuses)(Code) | | Returns localized text representation of status.
Parameters: displayStatuses - statuses bitmask status name, for multistatuses prefers localstatus name, for masked "". |
isDirectory | public boolean isDirectory()(Code) | | |
|
|