Class Saver

    • Constructor Detail

      • Saver

        public Saver()
    • Method Detail

      • getWrappedAlgorithmClass

        public java.lang.Class getWrappedAlgorithmClass()
        Get the class of the wrapped algorithm
        Specified by:
        getWrappedAlgorithmClass in class WekaAlgorithmWrapper
        Returns:
        the class of the wrapped algorithm
      • setWrappedAlgorithm

        public void setWrappedAlgorithm​(java.lang.Object algo)
        Set the actual wrapped algorithm instance
        Overrides:
        setWrappedAlgorithm in class WekaAlgorithmWrapper
        Parameters:
        algo - the wrapped algorithm instance
      • getSaver

        public Saver getSaver()
        Get the saver instance that is wrapped by this step. Convenience method that delegates to getWrappedAlgorithm()
        Returns:
        the saver instance that is wrapped by this step
      • setSaver

        @ProgrammaticProperty
        public void setSaver​(Saver saver)
        Set the saver instance that is wrapped by this step. Convenience method that delegates to setWrappedAlgorithm().
        Parameters:
        saver - the saver instance that is wrapped by this step
      • getRelationNameForFilename

        public boolean getRelationNameForFilename()
        Get whether the relation name is the primary part of the filename.
        Returns:
        true if the relation name is part of the filename.
      • setRelationNameForFilename

        public void setRelationNameForFilename​(boolean r)
        Set whether to use the relation name as the primary part of the filename. If false, then the prefix becomes the filename.
        Parameters:
        r - true if the relation name is to be part of the filename.
      • getCustomEditorForStep

        public java.lang.String getCustomEditorForStep()
        Return the fully qualified name of a custom editor component (JComponent) to use for editing the properties of the step. This method can return null, in which case the system will dynamically generate an editor using the GenericObjectEditor
        Specified by:
        getCustomEditorForStep in interface Step
        Overrides:
        getCustomEditorForStep in class BaseStep
        Returns:
        the fully qualified name of a step editor component