Interface com.symantec.itools.vcafe.openapi.BuildListener
All Packages Class Hierarchy This Package Previous Next Index
Interface com.symantec.itools.vcafe.openapi.BuildListener
- public interface BuildListener
The listener interface for receiving notification about the status of a VisualProject
's
build.
To be notified of changes, a plug-in implements this interface then calls
BuildManager.addBuildListener
to place itself on the notification list. When
the build status changes, the appropriate method of this interface is called.
If you are only interested in a subset of the notification methods, you can extend the
BuildAdapter
class rather than implement all the methods yourself.
- Version:
- 1.0
- Author:
- Symantec Internet Tools Division
- Since:
- VCafe 3.0
- See Also:
- getBuildManager, addBuildListener, BuildAdapter
-
BUILD_CANCELLED
- Indicates that the user cancelled a build.
-
BUILD_FAILED
- Indicates that a build failed.
-
BUILD_FINISHED
- Indicates that a build completed normally.
-
aboutToBuildProject(VisualProject)
- Invoked when a project build commences.
-
doneBuildingProject(VisualProject, int)
- Invoked when the project build finishes.
BUILD_CANCELLED
public static final int BUILD_CANCELLED
- Indicates that the user cancelled a build.
BUILD_FAILED
public static final int BUILD_FAILED
- Indicates that a build failed.
BUILD_FINISHED
public static final int BUILD_FINISHED
- Indicates that a build completed normally.
aboutToBuildProject
public abstract void aboutToBuildProject(VisualProject visualProject)
- Invoked when a project build commences.
- Parameters:
- visualProject - the project that is being built.
doneBuildingProject
public abstract void doneBuildingProject(VisualProject visualProject,
int howFinished)
- Invoked when the project build finishes.
- Parameters:
- visualProject - the project that was being built.
- howFinished - how the build finished. Can be one of:
- BUILD_FINISHED - the build completed normally,
- BUILD_CANCELLED - the user cancelled the build, or
- BUILD_FAILED - the build failed.
All Packages Class Hierarchy This Package Previous Next Index