Class UpdateCodesnippet
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.azure.tools.codesnippetplugin.SnippetBaseMojo
com.azure.tools.codesnippetplugin.UpdateCodesnippet
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="update-codesnippet",
threadSafe=true,
defaultPhase=PROCESS_SOURCES)
public final class UpdateCodesnippet
extends SnippetBaseMojo
Mojo for updating codesnippets.
-
Field Summary
Fields inherited from class com.azure.tools.codesnippetplugin.SnippetBaseMojo
DEFAULT_CODESNIPPET_GLOB, DEFAULT_README_GLOB, DEFAULT_SOURCE_GLOBFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.azure.tools.codesnippetplugin.SnippetBaseMojo
executeCodesnippetMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
UpdateCodesnippet
public UpdateCodesnippet()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-