Class GenerateMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.camel.maven.AbstractSalesforceMojo
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 AbstractSalesforceMojo
Goal to generate DTOs for Salesforce SObjects
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.component.salesforce.codegen.GenerateExecution.GeneratorUtility
     
    protected org.apache.camel.component.salesforce.codegen.AbstractSalesforceExecution
     
    void
     
    void
     
    void
    processDescription(File pkgDir, org.apache.camel.component.salesforce.api.dto.SObjectDescription description, org.apache.camel.component.salesforce.codegen.GenerateExecution.GeneratorUtility utility, Set<String> sObjectNames)
     
    void
    setDescriptions(org.apache.camel.component.salesforce.codegen.ObjectDescriptions descriptions)
     
    protected void
     

    Methods inherited from class org.apache.camel.maven.AbstractSalesforceMojo

    execute

    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
  • Constructor Details

    • GenerateMojo

      public GenerateMojo()
  • Method Details

    • setup

      protected void setup()
      Overrides:
      setup in class AbstractSalesforceMojo
    • getSalesforceExecution

      protected org.apache.camel.component.salesforce.codegen.AbstractSalesforceExecution getSalesforceExecution()
      Specified by:
      getSalesforceExecution in class AbstractSalesforceMojo
    • parsePicklistToEnums

      public void parsePicklistToEnums()
    • parsePicklistToStrings

      public void parsePicklistToStrings()
    • generatorUtility

      public org.apache.camel.component.salesforce.codegen.GenerateExecution.GeneratorUtility generatorUtility()
    • processDescription

      public void processDescription(File pkgDir, org.apache.camel.component.salesforce.api.dto.SObjectDescription description, org.apache.camel.component.salesforce.codegen.GenerateExecution.GeneratorUtility utility, Set<String> sObjectNames) throws Exception
      Throws:
      Exception
    • setDescriptions

      public void setDescriptions(org.apache.camel.component.salesforce.codegen.ObjectDescriptions descriptions)