Package org.apache.camel.maven
Class GenerateMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.camel.maven.GenerateMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate", requiresProject=false, defaultPhase=GENERATE_SOURCES) public class GenerateMojo extends org.apache.maven.plugin.AbstractMojoGoal to generate DTOs for Salesforce SObjects
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGenerateMojo.GeneratorUtility
-
Field Summary
Fields Modifier and Type Field Description static Map<String,String>DEFAULT_TYPES
-
Constructor Summary
Constructors Constructor Description GenerateMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()protected voidexecuteWithClient(org.apache.camel.component.salesforce.internal.client.RestClient client)longgetResponseTimeout()protected voidsetup()
-
-
-
Method Detail
-
executeWithClient
protected void executeWithClient(org.apache.camel.component.salesforce.internal.client.RestClient client) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
setup
protected void setup()
-
execute
public final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getResponseTimeout
public long getResponseTimeout()
-
-