|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxdoclet.GenerationManager
public class GenerationManager
Verify if the generation is needed for Java files and Xml files based templates.
| Constructor Summary | |
|---|---|
GenerationManager(xjavadoc.XJavaDoc xJavaDoc,
TemplateSubTask subTask)
Describe what the GenerationManager constructor does |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenerationManager(xjavadoc.XJavaDoc xJavaDoc,
TemplateSubTask subTask)
| Method Detail |
|---|
public 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 check
XDocletExceptionpublic void setGuessGenerationNeeded(boolean guessGenerationNeeded)
guessGenerationNeeded - The new GuessGenerationNeeded value
|
http://xdoclet.sourceforge.net/ | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||