Package io.vertx.ext.shell
Class ShellVerticle
- java.lang.Object
-
- io.vertx.core.AbstractVerticle
-
- io.vertx.ext.shell.ShellVerticle
-
- All Implemented Interfaces:
Deployable,Verticle
public class ShellVerticle extends AbstractVerticle
- Author:
- Julien Viet
-
-
Field Summary
-
Fields inherited from class io.vertx.core.AbstractVerticle
context, vertx
-
-
Constructor Summary
Constructors Constructor Description ShellVerticle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(Promise<Void> startFuture)Start the verticle.-
Methods inherited from class io.vertx.core.AbstractVerticle
config, deploy, deploymentID, getVertx, init, processArgs, start, stop, stop, undeploy
-
-
-
-
Method Detail
-
start
public void start(Promise<Void> startFuture) throws Exception
Description copied from class:AbstractVerticleStart the verticle.This is called by Vert.x when the verticle instance is deployed. Don't call it yourself.
If your verticle does things in its startup which take some time then you can override this method and call the startFuture some time later when start up is complete.
- Specified by:
startin interfaceVerticle- Overrides:
startin classAbstractVerticle- Parameters:
startFuture- a promise which should be called when verticle start-up is complete.- Throws:
Exception
-
-