ro.isdc.wro.maven.plugin
Class AbstractSingleProcessorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ro.isdc.wro.maven.plugin.AbstractWro4jMojo
ro.isdc.wro.maven.plugin.AbstractSingleProcessorMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- AbstractLinterMojo
public abstract class AbstractSingleProcessorMojo
- extends AbstractWro4jMojo
Maven plugin which use a single processor.
- Author:
- Alex Objelean
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
AbstractSingleProcessorMojo
public AbstractSingleProcessorMojo()
doExecute
public final void doExecute()
throws Exception
- Perform actual plugin processing.
- Specified by:
doExecute
in class AbstractWro4jMojo
- Throws:
Exception
getManagerFactory
protected WroManagerFactory getManagerFactory()
- This method will ensure that you have a right and initialized instance of
StandaloneContextAware
. When
overriding this method, ensure that creating managerFactory performs injection during manager creation, otherwise
the manager won't be initialized porperly.
- Overrides:
getManagerFactory
in class AbstractWro4jMojo
- Returns:
WroManagerFactory
implementation.
createResourceProcessor
protected abstract ResourcePreProcessor createResourceProcessor()
getOptions
protected String getOptions()
- Returns:
- raw representation of the option value.
Copyright © 2008-2013. All Rights Reserved.