站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

Statuses (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.turbo
Class Statuses

java.lang.Object
  extended byorg.netbeans.modules.vcscore.turbo.Statuses

public final class Statuses
extends Object

Enumerates statuses with special meaning for VcsFileSystem. These well known statuses can be set directly by REFRESH command to assure the file statuses for unversioned files.

These statuses are merged by CLIVCSFS with profile statuses into one global status string => FileStatusInfo map.

It's believed that it simplifies profiles contact a little bit because most VCSes does not care about local (including ignored files), e.g. cvs st folder/.


Field Summary
static String STATUS_DEAD
          The status of dead files.
static String STATUS_IGNORED
          The status of ignored files.
static String STATUS_UNKNOWN
          The status was not reported yet.
 
Constructor Summary
Statuses()
           
 
Method Summary
static FileStatusInfo createIgnoredFileInfo()
          TEmporary well known status definition missing in FileStatusInfo
static Set createTurboFileStatusInfos()
          Creates status infos assigned by turbo et.al.
static String getLocalStatus()
          The status for local non-ignored files.
static String getUnknownStatus()
          The status was not reported yet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATUS_UNKNOWN

public static final String STATUS_UNKNOWN
The status was not reported yet. It can be caused by operation in progress, network failure, etc.

See Also:
Constant Field Values

STATUS_IGNORED

public static final String STATUS_IGNORED
The status of ignored files. These are files, that are ignored by the targed version control system. It's assigned by cache if such files do not get VCS specific status. The REFRESH command can assign it too.

See Also:
Constant Field Values

STATUS_DEAD

public static final String STATUS_DEAD
The status of dead files. These are files, that were deleted in the targed version control system, but their old revisions still exist. If REFRESH command mark file using this sttaus it can be recognized and treated specially by VcsFileSystem (e.g. hidden but why).

See Also:
Constant Field Values
Constructor Detail

Statuses

public Statuses()
Method Detail

getLocalStatus

public static String getLocalStatus()
The status for local non-ignored files.


getUnknownStatus

public static String getUnknownStatus()
The status was not reported yet. It can be caused by operation in progress, network failure, etc.


createTurboFileStatusInfos

public static Set createTurboFileStatusInfos()
Creates status infos assigned by turbo et.al. methods. These cover statuses that are not returned by profile LIST_SUB command i.e. for unversioned files and dead files.


createIgnoredFileInfo

public static FileStatusInfo createIgnoredFileInfo()
TEmporary well known status definition missing in FileStatusInfo


 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.