public class PipeIntoOtherAppsExpansionStrategy extends Object implements ExpansionStrategy
| Constructor and Description |
|---|
PipeIntoOtherAppsExpansionStrategy(AppRegistry appRegistry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addProposals(String text,
StreamDefinition parseResult,
int detailLevel,
List<CompletionProposal> collector)
For a given stream DSL text and
StreamDefinition,
Generate CompletionProposals that apply (if any)
and add them to the provided collector list
Return true if no other strategies should be applied for
the stream DSL text (this strategy make take the liberty to erase
already collected proposals)
|
public PipeIntoOtherAppsExpansionStrategy(AppRegistry appRegistry)
public boolean addProposals(String text, StreamDefinition parseResult, int detailLevel, List<CompletionProposal> collector)
ExpansionStrategyStreamDefinition,
CompletionProposals that apply (if any)
and add them to the provided collector list
true if no other strategies should be applied for
the stream DSL text (this strategy make take the liberty to erase
already collected proposals)
addProposals in interface ExpansionStrategytext - DSL text for the streamparseResult - stream definitiondetailLevel - integer representing the amount of detail to include
in the generated CompletionProposals (higher values mean more details.
typical range is [1..5])collector - list of CompletionProposals to add/remove from
if this strategy appliestrue if no other strategies should be applied for
the stream DSL textCopyright © 2016 Pivotal Software, Inc.. All rights reserved.