|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jdeveloper.vcs.changelist.ChangeListEventQueue
public class ChangeListEventQueue
Event queue used to schedule updates to the ChangeList. Rather than updating immediately, the ChangeList periodically wakes up and executes any pending events on the queue.
Constructor Summary | |
---|---|
ChangeListEventQueue(ChangeList changeList)
Construct the change list event queue for the specified change list with a default delay. |
|
ChangeListEventQueue(ChangeList changeList,
int updateDelay)
Construct the event queue with the specified delay. |
Method Summary | |
---|---|
void |
addEventListener(ChangeListEventListener eventListener)
|
protected void |
addRemovedEntryURLs(java.util.Collection<VCSHashURL> urls,
java.net.URL directoryUrl,
VCSCancellable cancellable)
|
protected ChangeListItem |
createChangeListItem(java.net.URL url)
Create a new ChangeListItem for the given URL. |
protected ChangeListItem |
createChangeListItem(java.net.URL url,
boolean bOverlay)
Create a new ChangeListItem for the given URL. |
protected ChangeListItem[] |
createChangeListItems(java.net.URL[] urls)
Creates an array of ChangeListItems for the given URLs. |
protected ChangeListItem[] |
createChangeListItems(java.net.URL[] urls,
boolean bOverlay)
Creates an array of ChangeListItems for the given URLs. |
void |
enqueue(ChangeListEvent event)
Place an event on the queue. |
protected void |
filterByStatus(java.util.Collection<VCSHashURL> urls)
|
protected int |
getBatchCount()
Number of urls the change list should search for status on - the batch count |
protected ChangeList |
getChangeList()
|
java.lang.String |
getSystemId()
|
int |
getUpdateDelay()
Get the delay before processing events. |
boolean |
isAlive()
Asks the queue whether it is still alive and processing events. |
protected java.util.Collection<VCSHashURL> |
listProjectURLs(Project project,
ChangeListProjectContent projectContent,
VCSCancellable cancellable)
|
protected java.util.Collection<VCSHashURL> |
listURLsForRoot(java.net.URL root,
oracle.jdeveloper.vcs.cache.Depth depth)
|
protected boolean |
overridesFilterByStatus()
|
protected boolean |
overridesRootTraversal()
|
protected void |
processEvent(ChangeListEvent cle)
|
protected void |
processOverlayChange(java.net.URL[] urls)
|
protected void |
processRequeryEvent(ChangeListEvent cle)
|
void |
removeEventListener(ChangeListEventListener eventListener)
|
protected void |
setChangeListBusy(boolean isBusy)
Set whether the change list is busy. |
void |
setSystemId(java.lang.String vcsId)
|
void |
setUpdateDelay(int updateDelay)
Set the delay to use before processing incoming events. |
protected boolean |
supportsRemovedEntries()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeListEventQueue(ChangeList changeList)
changeList
- the change list to usepublic ChangeListEventQueue(ChangeList changeList, int updateDelay)
changeList
- the change list to useupdateDelay
- time to delay until processing events.Method Detail |
---|
public final void setSystemId(java.lang.String vcsId)
public final java.lang.String getSystemId()
protected ChangeList getChangeList()
public void addEventListener(ChangeListEventListener eventListener)
public void removeEventListener(ChangeListEventListener eventListener)
public void setUpdateDelay(int updateDelay)
updateDelay
- the delay before processing incoming eventspublic int getUpdateDelay()
public boolean isAlive()
public void enqueue(ChangeListEvent event)
event
- the event ot queue.protected ChangeListItem[] createChangeListItems(java.net.URL[] urls)
urls
- the URLs.
protected ChangeListItem[] createChangeListItems(java.net.URL[] urls, boolean bOverlay)
urls
- the URLs.
protected ChangeListItem createChangeListItem(java.net.URL url)
url
- the URL.
protected ChangeListItem createChangeListItem(java.net.URL url, boolean bOverlay)
url
- the URL.bOverlay
- true create ChangeListItem with an overlay
protected void setChangeListBusy(boolean isBusy)
isBusy
- value to set the busy property to.protected void processEvent(ChangeListEvent cle) throws java.lang.Exception
java.lang.Exception
protected void processRequeryEvent(ChangeListEvent cle) throws java.lang.Exception
java.lang.Exception
protected java.util.Collection<VCSHashURL> listURLsForRoot(java.net.URL root, oracle.jdeveloper.vcs.cache.Depth depth)
protected java.util.Collection<VCSHashURL> listProjectURLs(Project project, ChangeListProjectContent projectContent, VCSCancellable cancellable) throws java.lang.Exception
java.lang.Exception
protected boolean supportsRemovedEntries()
protected boolean overridesRootTraversal()
protected boolean overridesFilterByStatus()
protected void addRemovedEntryURLs(java.util.Collection<VCSHashURL> urls, java.net.URL directoryUrl, VCSCancellable cancellable) throws java.lang.Exception
java.lang.Exception
protected void filterByStatus(java.util.Collection<VCSHashURL> urls) throws java.lang.Exception
java.lang.Exception
protected int getBatchCount()
protected void processOverlayChange(java.net.URL[] urls) throws java.lang.Exception
java.lang.Exception
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |