/** * 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. * * @param dir the directory to which drools will dump files * * @return the actual type safe dump directory configuration. */ public static DumpDirOption get( File dir ) { return new DumpDirOption( dir ); }