Class DefaultCommandFactory<T>

java.lang.Object
com.github.rvesse.airline.DefaultCommandFactory<T>
All Implemented Interfaces:
CommandFactory<T>

public class DefaultCommandFactory<T> extends Object implements CommandFactory<T>
  • Constructor Details

    • DefaultCommandFactory

      public DefaultCommandFactory()
  • Method Details

    • createInstance

      public T createInstance(Class<?> type)
      Description copied from interface: CommandFactory
      Creates an instance of the given type
      Specified by:
      createInstance in interface CommandFactory<T>
      Parameters:
      type - Type
      Returns:
      Instance