@Component public class ModulesAfterPipeRecoveryStrategy extends StacktraceFingerprintingCompletionRecoveryStrategy<CheckpointedStreamDefinitionException>
parser
Constructor and Description |
---|
ModulesAfterPipeRecoveryStrategy(XDParser parser,
ModuleDefinitionRepository moduleDefinitionRepository)
Construct a new ExpandOneDashToTwoDashesRecoveryStrategy given the parser.
|
Modifier and Type | Method and Description |
---|---|
void |
addProposals(java.lang.String start,
CheckpointedStreamDefinitionException exception,
CompletionKind kind,
int detailLevel,
java.util.List<java.lang.String> proposals)
Perform code completion by adding proposals to the
proposals list. |
shouldTrigger
@Autowired public ModulesAfterPipeRecoveryStrategy(XDParser parser, ModuleDefinitionRepository moduleDefinitionRepository)
parser
- the parser used to parse the text the partial module definition.moduleDefinitionRepository
- the repository to use for looking up all processors or sinks that can be added
after the pipe symbol.public void addProposals(java.lang.String start, CheckpointedStreamDefinitionException exception, CompletionKind kind, int detailLevel, java.util.List<java.lang.String> proposals)
CompletionRecoveryStrategy
proposals
list.