@Mojo(name="stop", requiresDependencyCollection=COMPILE_PLUS_RUNTIME, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class StopMojo extends AbstractRunMojo
AbstractRunMojo.JavaBuildCallback, AbstractRunMojo.ResourceBuildCallback| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
appIds
the vertx application id that will be used to stop the process, if left blank this value will be intialized
form the ${project.basedir}/
AbstractVertxMojo.VERTX_PID_FILE |
classesDirectory, config, jvmArgs, optionalRunExtraArgs, redeploy, redeployGracePeriod, redeployScanPeriod, redeployTerminationPeriod, vertxCommand, workDirectoryarchive, buildPluginManager, container, DEFAULT_CONF_DIR, IO_VERTX_CORE_LAUNCHER, launcher, lifecycleExecutor, mavenSession, project, projectBuildDir, remoteRepositories, repositorySystem, repositorySystemSession, scmManager, skip, skipScmMetadata, verticle, VERTX_ARG_CONF, VERTX_ARG_JAVA_OPT, VERTX_ARG_LAUNCHER_CLASS, VERTX_ARG_REDEPLOY, VERTX_ARG_REDEPLOY_GRACE_PERIOD, VERTX_ARG_REDEPLOY_SCAN_PERIOD, VERTX_ARG_REDEPLOY_TERMINATION_PERIOD, VERTX_COMMAND_START, VERTX_COMMAND_STOP, VERTX_CONFIG_FILE_JSON, VERTX_PACKAGING, VERTX_PID_FILE, VERTX_RUN_MODE_JAR, WILDCARD_CONFIG_FILES| Constructor and Description |
|---|
StopMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
private void |
getAppId()
This will compute the vertx application id(s) that will be passed to the vertx applicaiton with "-id"
option, if the appId is not found in the configuration an new
UUID will be generated and assigned |
addClasspath, isVertxLauncher, run, scanAndLoadConfigsasMavenCoordinates, computeArchive, contextualize, extractArtifactPaths, getArtifactFile, getProject, getScmManager, resolveArtifact, skipScmMetadatagetLog, getPluginContext, setLog, setPluginContext@Parameter(alias="appIds") protected Set<String> appIds
AbstractVertxMojo.VERTX_PID_FILEpublic void execute()
throws MojoExecutionException,
MojoFailureException
execute in interface Mojoexecute in class AbstractRunMojoMojoExecutionExceptionMojoFailureExceptionprivate void getAppId()
throws MojoExecutionException
UUID will be generated and assignedMojoExecutionExceptionCopyright © 2018. All rights reserved.