| |
|
| java.lang.Object org.netbeans.modules.visualweb.insync.models.ProjectBuiltQuery
ProjectBuiltQuery | public class ProjectBuiltQuery (Code) | | A query to check and monitor wheather a project can be considered to be built
(up to date). This is analogous to org.netbeans.api.queries.FileBuiltQuery .
The basic idea behind this is to consider a project built if all it's file are built. This
implementation monitors the status of files under org.netbeans.api.project.SourceGroup
returned by org.netbeans.api.project.Sources using the FileBuiltQuery .
It returns a ProjectBuiltQuery.Status object for a specified project. Using this
the client code can query if the project is built. The dynamic changes to the project's built
state can be monitored using a javax.swing.event.ChangeListener .
NOTE: Currently only java org.netbeans.api.project.SourceGroups are monitored.
See Also: FileBuiltQuery author: Sandip Chitale |
Inner Class :public static interface Status | |
Method Summary | |
public static Status | getStatus(Project project) This returns a ProjectBuiltQuery.Status object which can be
used to query and monitor the built status of the project. |
getStatus | public static Status getStatus(Project project)(Code) | | This returns a ProjectBuiltQuery.Status object which can be
used to query and monitor the built status of the project.
This will throw a NullPointerException if a null
project is passed in.
This will throw a IllegalArgumentException if the
project does not have any org.netbeans.api.project.SourceGroups.
Parameters: project - - the project for whose built status is to be monitor. Staus - an object to monitor |
|
|
|