|
org.netbeans.modules.project.ant/1 1.16 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.project.ant.AntBuildExtender
public final class AntBuildExtender
Allows extending the project's build script with 3rd party additions. Check the Project's lookup to see if the feature is supported by a given Ant project type. Typical usage:
ProjectManager.saveProject(org.netbeans.api.project.Project)
to persist the changes and
regenerate the main build script
Nested Class Summary | |
---|---|
class |
AntBuildExtender.Extension
Describes and allows to manipulate the build script extension and it's links to the main build script of the project. |
Method Summary | |
---|---|
AntBuildExtender.Extension |
addExtension(String id,
FileObject extensionXml)
Adds a new build script extension. |
List<String> |
getExtensibleTargets()
Get a list of target names in the main build script that are allowed to be extended by adding the "depends" attribute definition to them. |
AntBuildExtender.Extension |
getExtension(String id)
Get an extension by the id. |
void |
removeExtension(String id)
Remove an existing build script extension. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public List<String> getExtensibleTargets()
public AntBuildExtender.Extension addExtension(String id, FileObject extensionXml)
id
- identification of the extensionextensionXml
- fileobject referencing the build script for the extension,
needs to be located in nbproject directory or below.
public void removeExtension(String id)
id
- identification of the extensionpublic AntBuildExtender.Extension getExtension(String id)
id
- identification token
|
org.netbeans.modules.project.ant/1 1.16 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |