public interface AntBasedProjectType
Modifier and Type | Method and Description |
---|---|
Project |
createProject(AntProjectHelper helper)
Create the project object with a support class.
|
String |
getPrimaryConfigurationDataElementName(boolean shared)
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> ) or nbproject/private/private.xml
(inside <project-private> ). |
String |
getPrimaryConfigurationDataElementNamespace(boolean shared)
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> ) or nbproject/private/private.xml
(inside <project-private> ). |
String |
getType()
Get a unique type identifier for this kind of project.
|
String getType()
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.Project createProject(AntProjectHelper helper) throws IOException
helper
- a helper object encapsulating the generic project structureIOException
- if there is some problem loading additional dataString getPrimaryConfigurationDataElementName(boolean shared)
nbproject/project.xml
(inside <configuration>
) or nbproject/private/private.xml
(inside <project-private>
).
It is forbidden for the result of this method to change from call to call.shared
- if true, refers to project.xml
, else refers to
private.xml
String getPrimaryConfigurationDataElementNamespace(boolean shared)
nbproject/project.xml
(inside <configuration>
) or nbproject/private/private.xml
(inside <project-private>
).
It is forbidden for the result of this method to change from call to call.shared
- if true, refers to project.xml
, else refers to
private.xml
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.