Package weka.core

Interface CommandlineRunnable

    • Method Detail

      • preExecution

        void preExecution()
                   throws Exception
        Perform any setup stuff that might need to happen before execution.
        Throws:
        Exception - if a problem occurs during setup
      • run

        void run​(Object toRun,
                 String[] options)
          throws Exception
        Execute the supplied object.
        Parameters:
        toRun - the object to execute
        options - any options to pass to the object
        Throws:
        Exception - if a problem occurs.
      • postExecution

        void postExecution()
                    throws Exception
        Perform any teardown stuff that might need to happen after execution.
        Throws:
        Exception - if a problem occurs during teardown