|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.acmsl.antmake.ConfigureInTemplateGenerator
Is able to generate configure.in templates.
Constructor Summary | |
protected |
ConfigureInTemplateGenerator()
Protected constructor to avoid accidental instantiation. |
Method Summary | |
ConfigureInTemplate |
createConfigureInTemplate(java.lang.String projectName,
java.lang.String projectVersion)
Generates a configure.in template. |
static ConfigureInTemplateGenerator |
getInstance()
Retrieves a ConfigureInTemplateGenerator instance. |
protected static java.lang.ref.WeakReference |
getReference()
Retrieves the weak reference. |
protected static void |
setReference(ConfigureInTemplateGenerator generator)
Specifies a new weak reference. |
void |
write(ConfigureInTemplate template,
java.io.File outputDir,
org.apache.tools.ant.Task task)
Writes a configure.in file to disk. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ConfigureInTemplateGenerator()
Method Detail |
protected static void setReference(ConfigureInTemplateGenerator generator)
generator
- the generator instance to use.protected static java.lang.ref.WeakReference getReference()
public static ConfigureInTemplateGenerator getInstance()
public ConfigureInTemplate createConfigureInTemplate(java.lang.String projectName, java.lang.String projectVersion)
createConfigureInTemplate
in interface ConfigureInTemplateFactory
projectName
- the project name.projectVersion
- the project version.
public void write(ConfigureInTemplate template, java.io.File outputDir, org.apache.tools.ant.Task task) throws AntMakeException
template
- the template to write.outputDir
- the output folder.task
- the task (for logging purposes).
AntMakeException
- if the file cannot be created.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |