weka.core

## Interface CommandlineRunnable

-     public interface CommandlineRunnable

  Interface to something that can be run from the command line.
  Version:
    $Revision: 8034 $
  Author:
    Mark Hall (mhall{[at]}pentaho{[dot]}com)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run(java.lang.Object toRun, java.lang.String[] options)` Execute the supplied object.

- - ### Method Detail

    - #### run

          void run(java.lang.Object toRun,
                 java.lang.String[] options)
                   throws java.lang.IllegalArgumentException

      Execute the supplied object.
      Parameters:
        `toRun` - the object to execute
        `options` - any options to pass to the object
      Throws:
        `java.lang.IllegalArgumentException` - if the object is not of the expected type.