org.gradle.api.plugins.antlr.plan
Class GenerationPlan

java.lang.Object
  extended by org.gradle.api.plugins.antlr.plan.GenerationPlan

public class GenerationPlan
extends Object

Models information relevant to generation of a particular Antlr grammar file.


Method Summary
 File getGenerationDirectory()
           
 String getId()
           
 File getImportVocabTokenTypesDirectory()
           
 File getSource()
           
 boolean isOutOfDate()
          Is the grammar file modeled by this plan out of considered out of date?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getId

public String getId()

getSource

public File getSource()

getGenerationDirectory

public File getGenerationDirectory()

getImportVocabTokenTypesDirectory

public File getImportVocabTokenTypesDirectory()

isOutOfDate

public boolean isOutOfDate()
Is the grammar file modeled by this plan out of considered out of date?

Returns:
True if the grammar generation is out of date (needs regen); false otherwise.