public final class BuildExecutionSupport extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
BuildExecutionSupport.ActionItem
Wrapper for the build job used by
BuildExecutionSupport , extending Item ,
allows collecting history of executions keyed by the getAction() values. |
static interface |
BuildExecutionSupport.Item
Wrapper for the build job used by
BuildExecutionSupport |
Modifier and Type | Method and Description |
---|---|
static void |
addChangeListener(ChangeListener listener)
Registers a change listener on BuildExecutionSupport
|
static BuildExecutionSupport.Item |
getLastFinishedItem()
Returns the last registered finished item.
|
static void |
registerFinishedItem(BuildExecutionSupport.Item item)
Notify that the build job finished.
|
static void |
registerRunningItem(BuildExecutionSupport.Item item)
Notify that the build job was started and pass a reference to it.
|
static void |
removeChangeListener(ChangeListener listener)
Unregisters a change listener on BuildExecutionSupport
|
public static void registerRunningItem(BuildExecutionSupport.Item item)
item
- public static void registerFinishedItem(BuildExecutionSupport.Item item)
item
- public static BuildExecutionSupport.Item getLastFinishedItem()
public static void addChangeListener(ChangeListener listener)
listener
- public static void removeChangeListener(ChangeListener listener)
listener
-