public abstract class AbstractWro4jMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
AbstractWro4jMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doExecute()
Perform actual plugin processing.
|
void |
execute() |
protected void |
extendPluginClasspath()
Update the classpath.
|
protected WroManagerFactory |
getManagerFactory()
This method will ensure that you have a right and initialized instance of
StandaloneContextAware. |
protected List<String> |
getTargetGroupsAsList() |
protected TaskExecutor<Void> |
getTaskExecutor() |
protected boolean |
isIncrementalBuild() |
protected boolean |
isIncrementalCheckRequired() |
protected boolean |
isParallelProcessing() |
protected WroManagerFactory |
newWroManagerFactory()
Allows explicitly to override the default implementation of the factory, assuming
wroManagerFactory
configuration is not set. |
protected void |
onAfterExecute()
Invoked right after execution completion.
|
protected void |
onBeforeExecute()
Invoked before execution is performed.
|
protected void |
validate()
Checks if all required fields are configured.
|
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected abstract void doExecute()
throws Exception
Exceptionprotected final WroManagerFactory getManagerFactory()
StandaloneContextAware.WroManagerFactory implementation.protected WroManagerFactory newWroManagerFactory() throws org.apache.maven.plugin.MojoExecutionException
wroManagerFactory
configuration is not set. When overriding this method, make sure that onAfterCreate(WroManagerFactory) is
invoked on newly created factory for proper initialization.org.apache.maven.plugin.MojoExecutionExceptionprotected final List<String> getTargetGroupsAsList() throws Exception
Exceptionprotected void validate()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected final void extendPluginClasspath()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected final TaskExecutor<Void> getTaskExecutor()
TaskExecutor responsible for running multiple tasks in parallel.protected boolean isIncrementalCheckRequired()
protected void onBeforeExecute()
protected void onAfterExecute()
protected final boolean isIncrementalBuild()
protected final boolean isParallelProcessing()
Copyright © 2008-2016. All Rights Reserved.