Class Parameters

java.lang.Object
pt.ist.phylolib.cli.Parameters

public final class Parameters
extends java.lang.Object
Represents the parameters of a command as a type and a set of options.
  • Constructor Summary

    Constructors 
    Constructor Description
    Parameters​(java.lang.reflect.Constructor<?> type, Options options)
    Creates the parameters of a command corresponding to a given type of command and respective options.
  • Method Summary

    Modifier and Type Method Description
    Options options()  
    java.lang.reflect.Constructor<?> type()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Parameters

      public Parameters​(java.lang.reflect.Constructor<?> type, Options options)
      Creates the parameters of a command corresponding to a given type of command and respective options.
      Parameters:
      type - the constructor for type of the command
      options - the options of the command
  • Method Details

    • type

      public java.lang.reflect.Constructor<?> type()
    • options

      public Options options()