Package weka.core

Interface CommandlineRunnable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void postExecution()
      Perform any teardown stuff that might need to happen after execution.
      void preExecution()
      Perform any setup stuff that might need to happen before execution.
      void run​(java.lang.Object toRun, java.lang.String[] options)
      Execute the supplied object.
    • Method Detail

      • preExecution

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

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

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