|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
ro.isdc.wro.maven.plugin.AbstractWro4jMojo
public abstract class AbstractWro4jMojo
Defines most common properties used by wro4j build-time solution infrastructure.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractWro4jMojo()
|
|
| Method Summary | |
|---|---|
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 boolean |
isIncrementalBuild()
|
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. |
| 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 |
| Constructor Detail |
|---|
public AbstractWro4jMojo()
| Method Detail |
|---|
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void onBeforeExecute()
protected void onAfterExecute()
protected 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 porperly.
WroManagerFactory implementation.
protected WroManagerFactory newWroManagerFactory()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final List<String> getTargetGroupsAsList()
throws Exception
Exceptionprotected final boolean isIncrementalBuild()
protected void validate()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected final void extendPluginClasspath()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||