|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.CamelSalesforceMojo
@Mojo(name="generate",
defaultPhase=GENERATE_SOURCES)
public class CamelSalesforceMojoGoal which generates POJOs for Salesforce SObjects
| Nested Class Summary | |
|---|---|
static class |
CamelSalesforceMojo.GeneratorUtility
|
| Field Summary | |
|---|---|
protected String |
clientId
Salesforce client id |
protected String |
clientSecret
Salesforce client secret |
protected String |
excludePattern
Exclude Salesforce SObjects that match pattern |
protected String[] |
excludes
Do NOT generate POJOs for these Salesforce SObjects |
protected String |
includePattern
Include Salesforce SObjects that match pattern |
protected String[] |
includes
Names of Salesforce SObject for which POJOs must be generated |
protected File |
outputDirectory
Location of the file. |
protected String |
packageName
Java package name for generated POJOs |
protected String |
password
Salesforce password |
protected String |
userName
Salesforce user name |
protected String |
version
Salesforce version |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
CamelSalesforceMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
Execute the mojo to generate SObject POJOs |
| 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 |
| Field Detail |
|---|
@Parameter(property="camelSalesforce.clientId",
required=true)
protected String clientId
@Parameter(property="camelSalesforce.clientSecret",
required=true)
protected String clientSecret
@Parameter(property="camelSalesforce.userName",
required=true)
protected String userName
@Parameter(property="camelSalesforce.password",
required=true)
protected String password
@Parameter(property="camelSalesforce.version",
defaultValue="27.0")
protected String version
@Parameter(property="camelSalesforce.outputDirectory",
defaultValue="${project.build.directory}/generated-sources/camel-salesforce")
protected File outputDirectory
@Parameter protected String[] includes
@Parameter protected String[] excludes
@Parameter(property="camelSalesforce.includePattern") protected String includePattern
@Parameter(property="camelSalesforce.excludePattern") protected String excludePattern
@Parameter(property="camelSalesforce.packageName",
defaultValue="org.apache.camel.salesforce.dto")
protected String packageName
| Constructor Detail |
|---|
public CamelSalesforceMojo()
| Method Detail |
|---|
public void execute()
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 | ||||||||