org.springframework.cloud.dataflow.rest.client

## Interface CompletionOperations

- All Known Implementing Classes:
    CompletionTemplate

      public interface CompletionOperations

  Interface defining operations related to providing code completion in the DSL.
  Author:
    Eric Bottard

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CompletionProposalsResource` | `streamCompletions(String prefix, int levelOfDetail)` Return the list of streamCompletions that are compatible with the given DSL prefix.
    `CompletionProposalsResource` | `taskCompletions(String prefix, int levelOfDetail)` Return the list of taskCompletions that are compatible with the given DSL prefix.

- - ### Method Detail

    - #### streamCompletions

          CompletionProposalsResource streamCompletions(String prefix,
                                                        int levelOfDetail)

      Return the list of streamCompletions that are compatible with the given DSL prefix.
      Parameters:
        `prefix` - the provided prefix value from DSL
        `levelOfDetail` - integer value that specifies the level of detail user wants in stream completions
      Returns:
        the stream completion proposals for the given DSL prefix

    - #### taskCompletions

          CompletionProposalsResource taskCompletions(String prefix,
                                                      int levelOfDetail)

      Return the list of taskCompletions that are compatible with the given DSL prefix.
      Parameters:
        `prefix` - the provided prefix value from DSL
        `levelOfDetail` - integer value that specifies the level of detail user wants in task completions
      Returns:
        the task completion proposals for the given DSL prefix

Copyright © 2021 Pivotal Software, Inc.. All rights reserved.