@Retention(value=SOURCE) @Target(value={TYPE,METHOD}) public @interface AntBasedProjectRegistration
Project
implementation as an
AntBasedProjectType
extension.
Just write a project with constructor that takes one
AntProjectHelper
argument and annotate the class with this annotation.
As an alternative you can annotate a factory method with the same parameter.Modifier and Type | Required Element and Description |
---|---|
String |
iconResource
icon of the project type represented by the given implementation of the interface.
|
String |
privateNamespace
Get the namespace of the XML element that should be used to store
the project's specific configuration data in
nbproject/private/private.xml
(inside <project-private> ). |
String |
sharedNamespace
Get the namespace of the XML element that should be used to store
the project's specific configuration data in
nbproject/project.xml
(inside <configuration> ). |
String |
type
Get a unique type identifier for this kind of project.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
privateName
Get the simple name of the XML element that should be used to store
the project's specific configuration data in
nbproject/private/private.xml
(inside <project-private> ). |
String |
sharedName
Get the simple name of the XML element that should be used to store
the project's specific configuration data in
nbproject/project.xml
(inside <configuration> ). |
public abstract String iconResource
ClassLoader.getResource(java.lang.String)
path to the iconpublic abstract String type
AntBasedProjectType
instances may share the same type.
The type is stored in nbproject/project.xml
in the type
element.
It is forbidden for the result of this method to change from call to call.public abstract String sharedNamespace
nbproject/project.xml
(inside <configuration>
).public abstract String privateNamespace
nbproject/private/private.xml
(inside <project-private>
).public abstract String sharedName
nbproject/project.xml
(inside <configuration>
).public abstract String privateName
nbproject/private/private.xml
(inside <project-private>
).Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.