public abstract class AbstractWro4jMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
AbstractWro4jMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected WroManagerFactory |
decorateManagerFactory(WroManagerFactory managerFactory)
Allows the initialized manager factory to be decorated.
|
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() |
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 WroManagerFactory getManagerFactory()
StandaloneContextAware. When
overriding this method, ensure that creating managerFactory performs injection during manager creation, otherwise
the manager won't be initialized properly.WroManagerFactory implementation.protected WroManagerFactory decorateManagerFactory(WroManagerFactory managerFactory)
protected WroManagerFactory newWroManagerFactory() throws org.apache.maven.plugin.MojoExecutionException
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-2014. All Rights Reserved.