@Component public class ModulesAfterPipeRecoveryStrategy extends StacktraceFingerprintingCompletionRecoveryStrategy<CheckpointedStreamDefinitionException>
parser
Constructor and Description |
---|
ModulesAfterPipeRecoveryStrategy(XDParser parser,
ModuleRegistry moduleRegistry)
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, ModuleRegistry moduleRegistry)
parser
- the parser used to parse the text the partial module definition.moduleRegistry
- the registry 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.