Package org.jboss.galleon.cli.cmd
Class AbstractPathCompleter
- java.lang.Object
-
- org.jboss.galleon.cli.cmd.AbstractPathCompleter
-
- All Implemented Interfaces:
org.aesh.command.completer.OptionCompleter<PmCompleterInvocation>
- Direct Known Subclasses:
AbstractDefaultConfigCommand.ConfigCompleter,AbstractPackageCommand.PackageCompleter,StateAddFeatureCommand.FeatureSpecIdCompleter,StateFullPathCompleter
public abstract class AbstractPathCompleter extends java.lang.Object implements org.aesh.command.completer.OptionCompleter<PmCompleterInvocation>
- Author:
- jdenise@redhat.com
-
-
Constructor Summary
Constructors Constructor Description AbstractPathCompleter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcomplete(PmCompleterInvocation completerInvocation)protected abstract voidfilterCandidates(FeatureContainerPathConsumer consumer, java.util.List<java.lang.String> candidates)protected abstract FeatureContainergetContainer(PmCompleterInvocation completerInvocation)protected abstract java.lang.StringgetCurrentPath(PmCompleterInvocation completerInvocation)
-
-
-
Method Detail
-
complete
public void complete(PmCompleterInvocation completerInvocation)
- Specified by:
completein interfaceorg.aesh.command.completer.OptionCompleter<PmCompleterInvocation>
-
getCurrentPath
protected abstract java.lang.String getCurrentPath(PmCompleterInvocation completerInvocation) throws java.lang.Exception
- Throws:
java.lang.Exception
-
filterCandidates
protected abstract void filterCandidates(FeatureContainerPathConsumer consumer, java.util.List<java.lang.String> candidates)
-
getContainer
protected abstract FeatureContainer getContainer(PmCompleterInvocation completerInvocation) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-