Package org.seedstack.maven
Class WatchMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.seedstack.maven.AbstractExecutableMojo
-
- org.seedstack.maven.WatchMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="watch", requiresProject=true, threadSafe=true, defaultPhase=VALIDATE, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) @Execute(phase=PROCESS_CLASSES) public class WatchMojo extends AbstractExecutableMojoDefines the run goal. This goal runs a SeedStack project.
-
-
Constructor Summary
Constructors Constructor Description WatchMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()ContextgetContext()voidinvalidateAllClasses()voidinvalidateClasses(Set<String> classNamesToInvalidate)voidinvalidateClassesFromPackage(String aPackage)voidliveReload()voidrefresh()-
Methods inherited from class org.seedstack.maven.AbstractExecutableMojo
execute
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
liveReload
public void liveReload()
-
invalidateClassesFromPackage
public void invalidateClassesFromPackage(String aPackage)
-
invalidateAllClasses
public void invalidateAllClasses()
-
getContext
public Context getContext()
-
-