xdoclet
public class GenerationManager extends java.lang.Object
Constructor and Description |
---|
GenerationManager(xjavadoc.XJavaDoc xJavaDoc,
TemplateSubTask subTask)
Describe what the GenerationManager constructor does
|
Modifier and Type | Method and Description |
---|---|
boolean |
isGenerationNeeded(java.io.File file)
Verify if the generation of a file to generate is needed because either the Template used to generate the file
have a later timestamp, or because ALL the Java sources imported in this task have a sooner timestamp.
|
boolean |
isGenerationNeeded(xjavadoc.XClass clazz,
java.io.File file,
boolean withTemplate)
Test if a Java source mmust be generated or not depending of timestamp of elements involved.
|
boolean |
isGuessGenerationNeeded()
Gets the GuessGenerationNeeded attribute of the GenerationManager object
|
void |
setGuessGenerationNeeded(boolean guessGenerationNeeded)
Sets the GuessGenerationNeeded attribute of the GenerationManager object.
|
public GenerationManager(xjavadoc.XJavaDoc xJavaDoc, TemplateSubTask subTask)
xJavaDoc
- subTask
- Describe what the parameter doespublic boolean isGuessGenerationNeeded()
public boolean isGenerationNeeded(xjavadoc.XClass clazz, java.io.File file, boolean withTemplate) throws XDocletException
clazz
- the Class from wich we generatefile
- the File that will be generatedwithTemplate
- XDocletException
public boolean isGenerationNeeded(java.io.File file) throws XDocletException
file
- The file to checkXDocletException
public void setGuessGenerationNeeded(boolean guessGenerationNeeded)
guessGenerationNeeded
- The new GuessGenerationNeeded value