当前页面:
在线文档首页 >
NetBeans API Javadoc 5.0.0
AntArtifactProvider (NetBeans Ant Project API) - NetBeans API Javadoc 5.0.0
org.netbeans.spi.project.ant
Interface AntArtifactProvider
- public interface AntArtifactProvider
Interface to be implemented by projects which can supply a list
of Ant build artifacts.
- See Also:
Project.getLookup()
getBuildArtifacts
public AntArtifact[] getBuildArtifacts()
- Get a list of supported build artifacts.
Typically the entries would be created using
AntProjectHelper.createSimpleAntArtifact(java.lang.String, java.lang.String, org.netbeans.spi.project.support.ant.PropertyEvaluator, java.lang.String, java.lang.String)
.
- Returns:
- a list of build artifacts produced by this project;
the target names must be distinct, and if this provider is in a
project's lookup,
AntArtifact.getProject()
must return the
same project; list of artifacts for one project cannot contain
two artifacts with the same ID