Package com.ethlo.zally
Class ExtractMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.ethlo.zally.ExtractMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(threadSafe=true,
name="extract",
defaultPhase=GENERATE_SOURCES)
public class ExtractMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()static Optional<io.swagger.v3.oas.models.OpenAPI>static booleanmatch(OperationFilter filter, OperationData data) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ExtractMojo
public ExtractMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-
match
-
load
public static Optional<io.swagger.v3.oas.models.OpenAPI> load(org.apache.maven.plugin.logging.Log log, boolean skip, String source, boolean inlined) throws org.apache.maven.plugin.MojoFailureException - Throws:
org.apache.maven.plugin.MojoFailureException
-