Package org.springframework.cloud.dataflow.completion
package org.springframework.cloud.dataflow.completion
Contains classes related to code-completion of stream definitions expressed in the
Spring Cloud Dataflow DSL.
- Author:
- Eric Bottard
-
ClassDescriptionProvides completions for the case where the user has entered a comma symbol and an unbound app reference is expected next.Provides completions for the case where the user has entered a pipe symbol and a app reference is expected next.Returns the closed set of true and false for properties that are of type Boolean.Include this Configuration class to expose fully configured
StreamCompletionProvider
andTaskCompletionProvider
.Represents a proposal to complete a given piece of definition DSL.Various utility methods used throughout the completion package.Attempts to fill in possible values after a --foo=prefix (syntactically valid) construct in the DSL.Attempts to fill in possible values after a --foo= dangling construct in the DSL.Attempts to fill in possible values after a --foo=prefix (syntactically valid) construct in the DSL.Attempts to fill in possible values after a --foo= dangling construct in the DSL.A defaultValueHintProvider
that returns hints explicitly defined by a property.AValueHintProvider
that returns possible values when the property is anEnum
.Used to enhance a well formed stream definition by adding yet more text to it (e.g. adding more options to a module).Continues a well-formed stream definition by adding a pipe symbol and another app, provided that the stream definition hasn't reached its end yet.RecoveryStrategy<E extends Exception>Used to provide completions on ill-formed stream definitions, after an initial (failed) parse.A recovery strategy that will trigger if the parser failure is similar to that of some sample unfinished stream definition.A recovery strategy that will trigger if the parser failure is similar to that of some sample unfinished task definition.Provides code completion on a (maybe ill-formed) stream definition.Provides code completion on a (maybe ill-formed) task definition.Used to enhance a well formed task definition by adding yet more text to it (e.g. adding more options to a module).Provides completions by finding apps whose name starts with a prefix (which was assumed to be a correct app name, but wasn't).Provides completions for the case where the user has started to type an app configuration property name but it is not typed in full yet.Provides completions for the case where the user has started to type an app configuration property name but it is not typed in full yet.Provides completions by finding apps whose name starts with a prefix (which was assumed to be a correct app name, but wasn't).Interface to provide value hints that can be discovered for properties.