Class Wsdl2JsOptions

java.lang.Object
io.mateo.cxf.codegen.wsdl2js.Wsdl2JsOptions

public abstract class Wsdl2JsOptions extends Object
Options for the wsdl2js tool.
See Also:
  • Constructor Details

    • Wsdl2JsOptions

      public Wsdl2JsOptions()
  • Method Details

    • getWsdl

      @Input public abstract Property<String> getWsdl()
      Specifies the WSDL document from which JavaScript is generated from
      Returns:
      wsdl file
    • getWsdlVersion

      @Input @Optional public abstract Property<String> getWsdlVersion()
      Specifies the WSDL version the tool expects.

      If not set, wsdl2js defaults to WSDL1.1.

      Returns:
      wsdl version
    • getPackagePrefixes

      @Input @Optional public abstract ListProperty<Wsdl2JsOptions.UriPrefixPair> getPackagePrefixes()
      Specifies a mapping between the namespaces used in the WSDL document and the prefixes used in the generated JavaScript.

      The format is URI=prefix. In other words: [wsdl namespace]=prefix

      Returns:
      package prefixes
    • getCatalog

      Specifies the XML catalog to use for resolving imported schemas and WSDL documents.
      Returns:
      catalog
    • getValidate

      @Input @Optional public abstract Property<String> getValidate()
      Enables validating the WSDL before generating the code.
      Returns:
      validate WSDL
    • getVerbose

      @Input @Optional public abstract Property<Boolean> getVerbose()
      Enables or disables verbosity. When enabled, displays comments during the code generation process.
      Returns:
      verbosity indicator
    • getQuiet

      @Input @Optional public abstract Property<Boolean> getQuiet()
      Enables or disables quiet mode. When enabled, suppresses comments during the code generation process.
      Returns:
      quite mode enablement
    • getOutputDir

      @OutputDirectory @Optional public abstract DirectoryProperty getOutputDir()
      Specifies the directory the generated code files are written.

      If not set, the convention is "$buildDir/$taskName-wsdl2js-generated-sources"

      Returns:
      output directory