Class WsImport


  • public class WsImport
    extends Object
    WsImport tool entry point.
    Author:
    Vivek Pandey, Kohsuke Kawaguchi
    • Constructor Detail

      • WsImport

        public WsImport()
    • Method Detail

      • doMain

        public static int doMain​(String[] args)
                          throws Throwable
        Entry point for tool integration.

        This does the same as main(String[]) except it doesn't invoke System.exit(int). This method also doesn't play with classloaders. It's the caller's responsibility to set up the classloader to load all jars needed to run the tool.

        Returns:
        0 if the tool runs successfully.
        Throws:
        Throwable