Class TauP_Web

  • All Implemented Interfaces:
    java.util.concurrent.Callable<java.lang.Integer>

    public class TauP_Web
    extends java.lang.Object
    implements java.util.concurrent.Callable<java.lang.Integer>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String LOCAL_WS  
    • Constructor Summary

      Constructors 
      Constructor Description
      TauP_Web()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer call()
      Indirect startup for TauP webserver.
      boolean isDEBUG()  
      boolean isVerbose()  
      void setDEBUG​(boolean debug)
      Turns on debugging output.
      void setVerbose​(boolean verbose)
      Turns on verbose output.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TauP_Web

        public TauP_Web()
    • Method Detail

      • call

        public java.lang.Integer call()
                               throws java.lang.Exception
        Indirect startup for TauP webserver. This allows picocli to function for help even if the dependencies (like undertow) are not on the classpath. See TauP_WebServe for the actual implementation.
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Integer>
        Returns:
        1 if successful, 0 otherwise
        Throws:
        java.lang.Exception - web startup fails
      • setDEBUG

        public void setDEBUG​(boolean debug)
        Turns on debugging output.
        Parameters:
        debug - on or off
      • isDEBUG

        public boolean isDEBUG()
      • setVerbose

        public void setVerbose​(boolean verbose)
        Turns on verbose output.
        Parameters:
        verbose - on or off
      • isVerbose

        public boolean isVerbose()