Class Wsdl2Java

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.JavaExec
io.mateo.cxf.codegen.wsdl2java.Wsdl2Java
All Implemented Interfaces:
Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, BaseExecSpec, JavaExecSpec, JavaForkOptions, ProcessForkOptions, Configurable<Task>

@CacheableTask public abstract class Wsdl2Java extends JavaExec
Generates Java sources from WSDLs.
  • Constructor Details

  • Method Details

    • getWsdl2JavaOptions

      public abstract Wsdl2JavaOptions getWsdl2JavaOptions()
      Options to configure the wsdl2java tool.
      Returns:
      tool options
    • getAddToMainSourceSet

      @Internal public abstract Property<Boolean> getAddToMainSourceSet()
      Whether to add the generated Java sources to the "main" or not.
      Returns:
      whether to add to source set
    • toolOptions

      public void toolOptions(Action<? super Wsdl2JavaOptions> configurer)
      Configures the wsdl2java tool options.
      Parameters:
      configurer - action or closure to configure tool options