Class DumpDirOption

    • Field Detail

      • PROPERTY_NAME

        public static final String PROPERTY_NAME
        The property name for the drools dump directory configuration
        See Also:
        Constant Field Values
    • Method Detail

      • get

        public static DumpDirOption get​(File dir)
        This is a factory method for this DumpDirectoryOption configuration. The factory method is a best practice for the case where the actual object construction is changed in the future.
        Parameters:
        dir - the directory to which drools will dump files
        Returns:
        the actual type safe dump directory configuration.
      • getPropertyName

        public String getPropertyName()
        Specified by:
        getPropertyName in interface org.kie.api.conf.Option
      • getDirectory

        public File getDirectory()
        Returns the directory to which drools should dump generated files
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object