Committed by
Gerrit Code Review
Refactoring IntentIdCompleter to IntentKeyCompleter
Change-Id: I8099336f79c5f510c708fcbb0c00ff31f3550a4d
Showing
2 changed files
with
4 additions
and
4 deletions
... | @@ -26,9 +26,9 @@ import java.util.List; | ... | @@ -26,9 +26,9 @@ import java.util.List; |
26 | import java.util.SortedSet; | 26 | import java.util.SortedSet; |
27 | 27 | ||
28 | /** | 28 | /** |
29 | - * Intent ID completer. | 29 | + * Intent Key completer. |
30 | */ | 30 | */ |
31 | -public class IntentIdCompleter implements Completer { | 31 | +public class IntentKeyCompleter implements Completer { |
32 | @Override | 32 | @Override |
33 | public int complete(String buffer, int cursor, List<String> candidates) { | 33 | public int complete(String buffer, int cursor, List<String> candidates) { |
34 | // Delegate string completer | 34 | // Delegate string completer | ... | ... |
... | @@ -137,7 +137,7 @@ | ... | @@ -137,7 +137,7 @@ |
137 | <action class="org.onosproject.cli.net.IntentRemoveCommand"/> | 137 | <action class="org.onosproject.cli.net.IntentRemoveCommand"/> |
138 | <completers> | 138 | <completers> |
139 | <ref component-id="appIdWithIntentNameCompleter"/> | 139 | <ref component-id="appIdWithIntentNameCompleter"/> |
140 | - <ref component-id="intentIdCompleter"/> | 140 | + <ref component-id="intentKeyCompleter"/> |
141 | </completers> | 141 | </completers> |
142 | </command> | 142 | </command> |
143 | <command> | 143 | <command> |
... | @@ -413,7 +413,7 @@ | ... | @@ -413,7 +413,7 @@ |
413 | <bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/> | 413 | <bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/> |
414 | <bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/> | 414 | <bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/> |
415 | <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/> | 415 | <bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/> |
416 | - <bean id="intentIdCompleter" class="org.onosproject.cli.net.IntentIdCompleter"/> | 416 | + <bean id="intentKeyCompleter" class="org.onosproject.cli.net.IntentKeyCompleter"/> |
417 | <bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/> | 417 | <bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/> |
418 | <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/> | 418 | <bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/> |
419 | <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/> | 419 | <bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/> | ... | ... |
-
Please register or login to post a comment