Package hudson.plugins.android_emulator
Class TaskDispatcher
java.lang.Object
hudson.model.queue.QueueTaskDispatcher
hudson.plugins.android_emulator.TaskDispatcher
- All Implemented Interfaces:
 ExtensionPoint
This QueueTaskDispatcher prevents any one Android emulator instance from being executed more than
 once concurrently on any one build machine.
 
 From the given Task, we form a hash of the emulator configuration
 and check whether any other build currently running on the given Node
 is already using this configuration. If so, we veto execution of the given Task.
 
Node
 and the axis combination for matrix builds. Because we are evaluating these parameters before the
 build has actually started, it's possible that the variable expansions made aren't 100% accurate,
 for example if there are earlier BuildWrapper instances contributing to the environment.- 
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class hudson.model.queue.QueueTaskDispatcher
all, canRun, canTake 
- 
Constructor Details
- 
TaskDispatcher
public TaskDispatcher() 
 - 
 - 
Method Details
- 
canTake
- Overrides:
 canTakein classQueueTaskDispatcher
 
 -