Brian O'Connor
Committed by Gerrit Code Review

Refactoring IntentIdCompleter to IntentKeyCompleter

Change-Id: I8099336f79c5f510c708fcbb0c00ff31f3550a4d
......@@ -26,9 +26,9 @@ import java.util.List;
import java.util.SortedSet;
/**
* Intent ID completer.
* Intent Key completer.
*/
public class IntentIdCompleter implements Completer {
public class IntentKeyCompleter implements Completer {
@Override
public int complete(String buffer, int cursor, List<String> candidates) {
// Delegate string completer
......
......@@ -137,7 +137,7 @@
<action class="org.onosproject.cli.net.IntentRemoveCommand"/>
<completers>
<ref component-id="appIdWithIntentNameCompleter"/>
<ref component-id="intentIdCompleter"/>
<ref component-id="intentKeyCompleter"/>
</completers>
</command>
<command>
......@@ -413,7 +413,7 @@
<bean id="clusterIdCompleter" class="org.onosproject.cli.net.ClusterIdCompleter"/>
<bean id="roleCompleter" class="org.onosproject.cli.net.RoleCompleter"/>
<bean id="hostIdCompleter" class="org.onosproject.cli.net.HostIdCompleter"/>
<bean id="intentIdCompleter" class="org.onosproject.cli.net.IntentIdCompleter"/>
<bean id="intentKeyCompleter" class="org.onosproject.cli.net.IntentKeyCompleter"/>
<bean id="flowRuleStatusCompleter" class="org.onosproject.cli.net.FlowRuleStatusCompleter"/>
<bean id="connectPointCompleter" class="org.onosproject.cli.net.ConnectPointCompleter"/>
<bean id="nullCompleter" class="org.apache.karaf.shell.console.completer.NullCompleter"/>
......