home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-10-25 | 1.8 KB | 60 lines |
- /*
- * Copyright 1998 Symantec Corporation, All Rights Reserved.
- */
-
- package com.symantec.itools.vcafe.openapi;
-
- /**
- * The API used to handle build requests for a <code>VisualProject</code>.
- * @see VisualProject#getBuildManager
- *
- * @author Symantec Internet Tools Division
- * @version 1.0
- * @since VCafe 3.0
- */
- public interface BuildManager
- {
- /**
- * Builds the applet or application. Only outdated files are compiled.
- * if <code>wait</code> is <code>true</code>, return success indicates
- * the project built without errors.
- * @param wait if <code>false</code>, the function returns immediately, otherwise it
- * waits until the build is complete.
- * @return boolean <code>true</code> if success, <code>false</code> otherwise.
- */
- public boolean build(boolean wait);
-
- /**
- * Builds all files in the project.
- * @param wait if <code>false</code>, the function returns immediately, otherwise it
- * waits until the build is complete.
- * @return boolean <code>true</code> if success, <code>false</code> otherwise.
- */
- public boolean rebuildAll(boolean wait);
-
- /**
- * Causes the current build to stop.
- */
- public void stopBuilding();
-
- /**
- * Determines if the project is currently being built.
- * @return <code>true</code> if the project is being built.
- */
- public boolean isBuilding();
-
- /**
- * Adds a listener that receives project build notifications.
- * @param buildListener the <code>BuildListener</code> to add.
- * @see BuildListener
- */
- public void addBuildListener(BuildListener buildListener);
-
- /**
- * Removes a listener that was receiving project build notifications.
- * @param buildListener the <code>BuildListener</code> to remove.
- * @see BuildListener
- */
- public void removeBuildListener(BuildListener buildListener);
- }
-