org.apache.myfaces.buildtools.maven2.plugin.builder
Class AbstractBuilderMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.myfaces.buildtools.maven2.plugin.builder.AbstractBuilderMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
MakeClientBehaviorsMojo, MakeComponentsMojo, MakeConfigMojo, MakeConvertersMojo, MakeConverterTagsMojo, MakeTagsMojo, MakeValidatorsMojo, MakeValidatorTagsMojo

public abstract class AbstractBuilderMojo
extends org.apache.maven.plugin.AbstractMojo

Author:
Leonardo Uribe

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractBuilderMojo()
           
 
Method Summary
protected  boolean isCachingEnabled()
           
protected  boolean isFileUpToDate(Properties cachedInfo, File outFile)
           
protected  boolean isFileUpToDate(Properties cachedInfo, long lastModifiedMetadata, File outFile)
           
protected  void loadCache(Properties cacheInfo)
           
protected  void storeCache(Properties cacheInfo)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
 

Constructor Detail

AbstractBuilderMojo

public AbstractBuilderMojo()
Method Detail

isCachingEnabled

protected boolean isCachingEnabled()

loadCache

protected void loadCache(Properties cacheInfo)
                  throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

storeCache

protected void storeCache(Properties cacheInfo)
                   throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

isFileUpToDate

protected boolean isFileUpToDate(Properties cachedInfo,
                                 File outFile)

isFileUpToDate

protected boolean isFileUpToDate(Properties cachedInfo,
                                 long lastModifiedMetadata,
                                 File outFile)


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.