|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.vcs.util.VCSCommandUtils
Utility class for version control client commands.
Method Summary | |
static void |
closeMissingDocuments(Document[] documents)
Closes all of the given documents whose files are absent on disk. |
static java.util.Collection |
getCandidateSelection(Locatable[] locatables,
VCSStatusCache cache)
Gets the locatable selection whose files are candidates to be added. |
static java.util.Collection |
getFilteredSelection(Locatable[] locatables,
VCSStatusCache cache,
VCSStatus[] statuses)
Gets the locatable selection, filtered for the given file statuses. |
static java.util.Collection |
getVersionedSelection(Locatable[] locatables,
VCSStatusCache cache)
Gets the locatable selection whose files are versioned. |
static boolean |
saveDirtyDocuments(Locatable[] locatables,
boolean silent,
java.lang.String helpTopicId)
Saves all of the given documents which are dirty, optionally prompting the user for confirmation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final java.util.Collection getFilteredSelection(Locatable[] locatables, VCSStatusCache cache, VCSStatus[] statuses) throws java.lang.Exception
locatables
- the locatable selection.cache
- the status cache to use.statuses
- the statuses to accept.
java.lang.Exception
- if a critical exception occurred.public static final java.util.Collection getVersionedSelection(Locatable[] locatables, VCSStatusCache cache) throws java.lang.Exception
locatables
- the locatable selection.cache
- the status cache to use.
java.lang.Exception
- if a critical exception occurred.public static final java.util.Collection getCandidateSelection(Locatable[] locatables, VCSStatusCache cache) throws java.lang.Exception
locatables
- the locatable selection.cache
- the status cache to use.
java.lang.Exception
- if a critical exception occurred.public static final boolean saveDirtyDocuments(Locatable[] locatables, boolean silent, java.lang.String helpTopicId) throws java.lang.Exception
silent
- a decision on whether this method should operate silently.helpTopicId
- the help topic ID for the dialog. (null-capable)
false
if the
user cancelled or an exception occurred.
java.lang.Exception
public static final void closeMissingDocuments(Document[] documents)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.