public class TapOnDestinationRecoveryStrategy extends Object implements RecoveryStrategy<ParseException>
Lives in this package as it needs access to a StreamDefinitionRepository.
| Constructor and Description |
|---|
TapOnDestinationRecoveryStrategy(StreamDefinitionRepository streamDefinitionRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProposals(String dsl,
ParseException exception,
int detailLevel,
List<CompletionProposal> collector)
Perform code completion by adding proposals to the
proposals list. |
boolean |
shouldTrigger(String dslStart,
Exception exception)
Whether this completion should be triggered.
|
public TapOnDestinationRecoveryStrategy(StreamDefinitionRepository streamDefinitionRepository)
public boolean shouldTrigger(String dslStart, Exception exception)
RecoveryStrategyshouldTrigger in interface RecoveryStrategy<ParseException>public void addProposals(String dsl, ParseException exception, int detailLevel, List<CompletionProposal> collector)
RecoveryStrategyproposals list.addProposals in interface RecoveryStrategy<ParseException>Copyright © 2016 Pivotal Software, Inc.. All rights reserved.