Class WsdlOption

java.lang.Object
org.apache.cxf.maven_plugin.wsdl2java.Option
org.apache.cxf.maven_plugin.wsdl2java.WsdlOption
All Implemented Interfaces:
GenericWsdlOption

public class WsdlOption extends Option implements GenericWsdlOption
  • Constructor Details

    • WsdlOption

      public WsdlOption()
  • Method Details

    • getWsdl

      public String getWsdl()
    • setWsdl

      public void setWsdl(String w)
    • getWsdlArtifact

      public WsdlArtifact getWsdlArtifact()
    • setArtifact

      public void setArtifact(WsdlArtifact artifact)
      Specified by:
      setArtifact in interface GenericWsdlOption
    • setWsdlArtifact

      public void setWsdlArtifact(WsdlArtifact wsdlArtifact)
    • getWsdlFile

      public File getWsdlFile(File baseDir)
      Try to find a file matching the wsdl path (either absolutely, relatively to the current dir or to the project base dir)
      Returns:
      wsdl file
    • getWsdlURI

      public URI getWsdlURI(URI baseURI) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • isDefServiceName

      public boolean isDefServiceName()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • generateCommandLine

      public List<String> generateCommandLine(File outputDirFile, URI basedir, URI wsdlURI, boolean debug)
      Specified by:
      generateCommandLine in interface GenericWsdlOption
    • getArtifact

      public WsdlArtifact getArtifact()
      Specified by:
      getArtifact in interface GenericWsdlOption
    • getUri

      public String getUri()
      Description copied from interface: GenericWsdlOption
      Return a string pointing to the WSDL. Might be a plain path, might be a full URI.
      Specified by:
      getUri in interface GenericWsdlOption
      Returns:
    • setUri

      public void setUri(String uri)
      Specified by:
      setUri in interface GenericWsdlOption