Interface ICommandFactory

All Known Implementing Classes:
CommandFactory

public interface ICommandFactory
Interface of command factory.
  • Method Summary

    Modifier and Type Method Description
    ICommand newCommand​(int index, String name, String... args)
    Constructs selenese command.
  • Method Details

    • newCommand

      ICommand newCommand​(int index, String name, String... args)
      Constructs selenese command.
      Parameters:
      index - index in selenese script file.
      name - command name.
      args - command arguments.
      Returns:
      ICommand instance or null.