org.springframework.cloud.dataflow.completion

## Class CompletionProposal

- java.lang.Object
- - org.springframework.cloud.dataflow.completion.CompletionProposal

-     public class CompletionProposal
      extends Object

  Represents a proposal to complete a given piece of definition DSL.
  Author:
    Eric Bottard

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CompletionProposal.Factory`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CompletionProposal(String text, String explanation)` Create a new CompletionProposal

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CompletionProposal.Factory` | `expanding(String start)`
    `String` | `getExplanation()`
    `String` | `getText()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CompletionProposal

          public CompletionProposal(String text,
                                    String explanation)

      Create a new CompletionProposal
      Parameters:
        `text` - the text that needs additonal completion
        `explanation` - the explanation of how to complete the text

  - ### Method Detail

    - #### expanding

          public static CompletionProposal.Factory expanding(String start)

    - #### getText

          public String getText()

    - #### getExplanation

          public String getExplanation()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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