|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.acmsl.antmake.ConfigureInTemplate
Template to generate configure.in files.
Field Summary | |
static java.lang.String |
DEFAULT_BODY
The default Make-Rules body. |
static java.lang.String |
DEFAULT_HEADER
The default header. |
static java.lang.String |
DEFAULT_MAKEFILE_SUBTEMPLATE
The default makefile subtemplate. |
Constructor Summary | |
ConfigureInTemplate(java.lang.String projectName,
java.lang.String projectVersion)
Builds a ConfigureInTemplate using given information. |
|
ConfigureInTemplate(java.lang.String header,
java.lang.String body,
java.lang.String makefileSubtemplate,
java.lang.String projectName,
java.lang.String projectVersion)
Builds a ConfigureInTemplate using given information. |
Method Summary | |
void |
addPackage(java.lang.String concretePackage)
Adds a package. |
java.lang.String |
getBody()
Retrieves the body. |
java.lang.String |
getHeader()
Retrieves the header. |
java.lang.String |
getMakefileSubtemplate()
Retrieves the makefile subtemplate. |
protected java.util.Collection |
getPackages()
Retrieves the packages. |
java.lang.String |
getProjectName()
Retrieves the project name. |
java.lang.String |
getProjectVersion()
Retrieves the project version. |
protected void |
setBody(java.lang.String body)
Specifies the body. |
protected void |
setHeader(java.lang.String header)
Specifies the header. |
protected void |
setMakefileSubtemplate(java.lang.String makefileSubtemplate)
Specifies the makefile subtemplate. |
protected void |
setPackages(java.util.Collection packages)
Specifies the packages. |
protected void |
setProjectName(java.lang.String projectName)
Specifies the project name. |
protected void |
setProjectVersion(java.lang.String projectVersion)
Specifies the project version. |
java.lang.String |
toString()
Retrieves the weaved configure.in file contents. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_HEADER
public static final java.lang.String DEFAULT_BODY
public static final java.lang.String DEFAULT_MAKEFILE_SUBTEMPLATE
Constructor Detail |
public ConfigureInTemplate(java.lang.String header, java.lang.String body, java.lang.String makefileSubtemplate, java.lang.String projectName, java.lang.String projectVersion)
header
- the header.body
- the body.makefileSubtemplate
- the makefile subtemplate.projectName
- the project name.projectVersion
- the project version.public ConfigureInTemplate(java.lang.String projectName, java.lang.String projectVersion)
projectName
- the project name.projectVersion
- the project version.Method Detail |
protected void setHeader(java.lang.String header)
header
- the new header.public java.lang.String getHeader()
protected void setBody(java.lang.String body)
body
- the new body.public java.lang.String getBody()
protected void setMakefileSubtemplate(java.lang.String makefileSubtemplate)
makefileSubtemplate
- the new makefile subtemplate.public java.lang.String getMakefileSubtemplate()
protected void setProjectName(java.lang.String projectName)
projectName
- the new project name.public java.lang.String getProjectName()
protected void setProjectVersion(java.lang.String projectVersion)
projectVersion
- the new project version.public java.lang.String getProjectVersion()
protected void setPackages(java.util.Collection packages)
protected java.util.Collection getPackages()
public void addPackage(java.lang.String concretePackage)
concretePackage
- the package to add.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |