Codota Logo
TaskOperations.destroyAll
Code IndexAdd Codota to your IDE (free)

How to use
destroyAll
method
in
org.springframework.cloud.dataflow.rest.client.TaskOperations

Best Java code snippets using org.springframework.cloud.dataflow.rest.client.TaskOperations.destroyAll (Showing top 1 results out of 315)

  • Common ways to obtain TaskOperations
private void myMethod () {
TaskOperations t =
  • Codota IconDataFlowOperations dataFlowOperations;dataFlowOperations.taskOperations()
  • Smart code suggestions by Codota
}
origin: spring-cloud/spring-cloud-dataflow

@CliCommand(value = DESTROY_TASK_ALL, help = "Destroy all existing tasks")
public String destroyAll(
    @CliOption(key = "force", help = "bypass confirmation prompt", unspecifiedDefaultValue = "false", specifiedDefaultValue = "true") boolean force) {
  if (force || "y".equalsIgnoreCase(userInput.promptWithOptions("Really destroy all tasks?", "n", "y", "n"))) {
    taskOperations().destroyAll();
    return String.format("All tasks destroyed");
  } else {
    return "";
  }
}
org.springframework.cloud.dataflow.rest.clientTaskOperationsdestroyAll

Javadoc

Destroy all existing tasks.

Popular methods of TaskOperations

  • launch
    Launch an already created task.
  • currentTaskExecutions
    Return information including the count of currently executing tasks and task execution limits.
  • cleanup
    Cleanup any resources associated with the execution for the id specified.
  • create
    Create a new task definition
  • destroy
    Destroy an existing task.
  • executionList
  • executionListByTaskName
    List task executions known to the system filtered by task name.
  • list
  • listPlatforms
  • taskExecutionStatus
    Return the TaskExecutionResource for the id specified.
  • validateTaskDefinition
    Return the validation status for the tasks in an definition.
  • validateTaskDefinition

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • getContentResolver (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Socket (java.net)
    Provides a client-side TCP socket.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now