|
org.netbeans.modules.versioning.core/1 1.5.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.versioning.core.api.VersioningSupport
public final class VersioningSupport
Collection of utility methods for Versioning systems implementors.
| Field Summary | |
|---|---|
static String |
PREF_BOOLEAN_TEXT_ANNOTATIONS_VISIBLE
Boolean property defining visibility of textual versioning annotations (aka Status Labels). |
| Method Summary | |
|---|---|
static ProcessBuilder |
createProcessBuilder(VCSFileProxy file)
Creates Process builder. |
static VersioningSystem |
getOwner(VCSFileProxy file)
Queries the Versioning infrastructure for file ownership. |
static Preferences |
getPreferences()
Common settings and preferences for versioning modules are set in this preferences node. |
static boolean |
isExcluded(VCSFileProxy folder)
Tests whether the given folder is excluded (unversioned) from version control. |
static boolean |
isFlat(VCSFileProxy file)
Tests whether the given file represents a flat folder (eg a java package), that is a folder that contains only its direct children. |
static void |
refreshFor(VCSFileProxy[] files)
Refreshes all necessary filesystems. |
static void |
versionedRootsChanged()
Helper method to signal that a versioning system started to manage some previously unversioned files (those files were imported into repository). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PREF_BOOLEAN_TEXT_ANNOTATIONS_VISIBLE
getPreferences(),
Constant Field Values| Method Detail |
|---|
public static Preferences getPreferences()
PREF_BOOLEAN_TEXT_ANNOTATIONS_VISIBLEpublic static VersioningSystem getOwner(VCSFileProxy file)
file - a file to examine
public static boolean isFlat(VCSFileProxy file)
file - a File to test
public static void versionedRootsChanged()
public static boolean isExcluded(VCSFileProxy folder)
versioning.unversionedFolders system property are excluded.
Misconfigured automount daemons may try to look for versioning metadata causing hangs and full load.versioning.netbeans.user.versioned system property to trueVersioning systems must NOT scan a folder if this method returns true and should consider it as unversioned.
folder - a folder to query
public static ProcessBuilder createProcessBuilder(VCSFileProxy file)
file -
public static void refreshFor(VCSFileProxy[] files)
FileObject are refreshed
but just those that represent passed files and their children recursively.
files -
|
org.netbeans.modules.versioning.core/1 1.5.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||