Class LauncherCallable
- java.lang.Object
-
- org.apache.sling.maven.slingstart.run.LauncherCallable
-
- All Implemented Interfaces:
Callable<ProcessDescription>
public class LauncherCallable extends Object implements Callable<ProcessDescription>
A callable for launchpad an instance
-
-
Constructor Summary
Constructors Constructor Description LauncherCallable(org.apache.maven.plugin.logging.Log logger, ServerConfiguration configuration, LaunchpadEnvironment environment)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessDescriptioncall()booleanisRunning()static voidstop(org.apache.maven.plugin.logging.Log LOG, ProcessDescription cfg)
-
-
-
Constructor Detail
-
LauncherCallable
public LauncherCallable(org.apache.maven.plugin.logging.Log logger, ServerConfiguration configuration, LaunchpadEnvironment environment)
-
-
Method Detail
-
call
public ProcessDescription call() throws Exception
- Specified by:
callin interfaceCallable<ProcessDescription>- Throws:
Exception- See Also:
Callable.call()
-
isRunning
public boolean isRunning()
-
stop
public static void stop(org.apache.maven.plugin.logging.Log LOG, ProcessDescription cfg) throws Exception- Throws:
Exception
-
-