Package gda.jython

Interface AliasedCommandProvider

All Known Subinterfaces:
Translator
All Known Implementing Classes:
JythonServerFacade, MockJythonServerFacade, NoopTranslator, TokenStreamTranslator

public interface AliasedCommandProvider
  • Method Details

    • getAliasedCommands

      Collection<String> getAliasedCommands()
      Returns the list of alias in the GDA command server
      Returns:
      the aliased commands
    • getAliasedVarargCommands

      Collection<String> getAliasedVarargCommands()
      Returns the list of variable argument alias in the GDA command server
      Returns:
      the list of variable argument alias
    • hasAlias

      boolean hasAlias(String command)
      Checks if the the given command is aliased (either vararg or not)
      Parameters:
      command - the string to check
      Returns:
      whether the command is aliased or not