public class QueueManagerView<S extends CommonContext,V> extends Object
newBuildView(BuildQueueManager, com.google.common.base.Function)
or newBuildView(BuildQueueManager, com.google.common.base.Function)
,
store the reference and use getQueueView(Iterable)
to get the data you need. Store the view reference for later use (you probably want to use a volatile
variable for it.Modifier and Type | Method and Description |
---|---|
Iterable<BuildQueueManager.QueueItemView<V>> |
getQueueView(Iterable<BuildQueueManager.QueueItemView<V>> previouslyQueuedExecutables) |
static <V> QueueManagerView<BuildContext,V> |
newBuildView(BuildQueueManager buildQueueManager,
com.google.common.base.Function<BuildQueueManager.QueueItemView<BuildContext>,BuildQueueManager.QueueItemView<V>> viewMapper)
Convenience method that returns a view with builds (not deployments).
|
static <V> QueueManagerView<CommonContext,V> |
newView(BuildQueueManager buildQueueManager,
com.google.common.base.Function<BuildQueueManager.QueueItemView<CommonContext>,BuildQueueManager.QueueItemView<V>> context2QueueItem)
Creates a queue view that returns all queued executables - without filtering
|
public static <V> QueueManagerView<BuildContext,V> newBuildView(BuildQueueManager buildQueueManager, com.google.common.base.Function<BuildQueueManager.QueueItemView<BuildContext>,BuildQueueManager.QueueItemView<V>> viewMapper)
public static <V> QueueManagerView<CommonContext,V> newView(BuildQueueManager buildQueueManager, com.google.common.base.Function<BuildQueueManager.QueueItemView<CommonContext>,BuildQueueManager.QueueItemView<V>> context2QueueItem)
public Iterable<BuildQueueManager.QueueItemView<V>> getQueueView(Iterable<BuildQueueManager.QueueItemView<V>> previouslyQueuedExecutables)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.