Package edu.sc.seis.TauP.cmdline
Class TauP_Web
- java.lang.Object
-
- edu.sc.seis.TauP.cmdline.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>
-
-
Constructor Summary
Constructors Constructor Description TauP_Web()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integercall()Indirect startup for TauP webserver.
-
-
-
Method Detail
-
call
public java.lang.Integer call() throws java.lang.ExceptionIndirect 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:
callin interfacejava.util.concurrent.Callable<java.lang.Integer>- Returns:
- 1 if successful, 0 otherwise
- Throws:
java.lang.Exception- web startup fails
-
-