当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
AntProjectCookie.ParseStatus (Ant) - NetBeans API Javadoc (Current Development Version)
org.apache.tools.ant.module.api
Interface AntProjectCookie.ParseStatus
- All Superinterfaces:
- AntProjectCookie, Node.Cookie
- Enclosing interface:
- AntProjectCookie
public static interface AntProjectCookie.ParseStatus
- extends AntProjectCookie
Extended cookie permitting queries of parse status.
If only the basic cookie is available, you cannot
determine if a project is already parsed or not, and
methods which require it to be parsed for them to return
may block until a parse is complete.
- Since:
- 2.10
Method Summary |
boolean |
isParsed()
Check whether the project is currently parsed. |
isParsed
boolean isParsed()
- Check whether the project is currently parsed.
Note that "parsed in error" is still considered parsed.
If not parsed, then if and when it does later become
parsed, a change event should be fired. A project
might become unparsed after being parsed, due to e.g.
garbage collection; this need not fire any event.
If the project is currently parsed, the methods
AntProjectCookie.getDocument()
,
AntProjectCookie.getProjectElement()
, and
AntProjectCookie.getParseException()
should
not block.
- Returns:
- true if this project is currently parsed