Class BaseSoyJsMojo<T extends BaseSoyJsCommand>

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.liferay.portal.tools.soy.builder.maven.BaseSoyJsMojo<T>
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
ReplaceSoyTranslationMojo, WrapSoyAlloyTemplateMojo

public abstract class BaseSoyJsMojo<T extends BaseSoyJsCommand> extends org.apache.maven.plugin.AbstractMojo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final T
     

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract T
     
    void
     
    void
    setDir(File dir)
    The directory containing the .soy.js files to process.

    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
  • Field Details

  • Constructor Details

    • BaseSoyJsMojo

      public BaseSoyJsMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • setDir

      public void setDir(File dir)
      The directory containing the .soy.js files to process.
    • createCommand

      protected abstract T createCommand()