/** * Undeploy the current {@link Stream}. This method invokes the remote server * @return A reference the the {@link StreamDefinition} so one can invoke other builder operations such as {@link StreamDefinition#deploy()} */ public StreamDefinition undeploy() { client.streamOperations().undeploy(this.name); return new StreamDefinition(this.name, this.client, this.definition, this.applications); }
/** * Undeploy the current {@link Stream}. This method invokes the remote server * @return A reference the the {@link StreamDefinition} so one can invoke other builder operations such as {@link StreamDefinition#deploy()} */ public StreamDefinition undeploy() { client.streamOperations().undeploy(this.name); return new StreamDefinition(this.name, this.client, this.definition, this.applications); }
@CliCommand(value = UNDEPLOY_STREAM, help = "Un-deploy a previously deployed stream") public String undeployStream(@CliOption(key = { "", "name" }, help = "the name of the stream to un-deploy", mandatory = true, optionContext = "existing-stream disable-string-converter") String name) { streamOperations().undeploy(name); return String.format("Un-deployed stream '%s'", name); }
@CliCommand(value = UNDEPLOY_STREAM, help = "Un-deploy a previously deployed stream") public String undeployStream(@CliOption(key = { "", "name" }, help = "the name of the stream to un-deploy", mandatory = true, optionContext = "existing-stream disable-string-converter") String name) { streamOperations().undeploy(name); return String.format("Un-deployed stream '%s'", name); }