Example #1
0
 /**
  * Creates a new ProjectOptions object.
  *
  * @param addClassPath DOCUMENT ME!
  * @param driver DOCUMENT ME!
  * @param defFinClass DOCUMENT ME!
  * @param defFinProps DOCUMENT ME!
  */
 public ProjectOptions(
     final Set<File> addClassPath,
     final List<DriverDescription> driver,
     final String defFinClass,
     final Properties defFinProps) {
   if (addClassPath != null) {
     this.addClassPath = addClassPath;
   } else {
     this.addClassPath = TypeSafeCollections.newHashSet();
   }
   if (driver != null) {
     this.driver = driver;
   } else {
     this.driver = TypeSafeCollections.newArrayList();
   }
   if (defFinClass != null) {
     this.defaultFinalizerClass = defFinClass;
   } else {
     this.defaultFinalizerClass = "";
   }
   if (defFinProps != null) {
     this.defaultFinalizerProperties = defFinProps;
   } else {
     this.defaultFinalizerProperties = new Properties();
   }
 }
Example #2
0
 /**
  * DOCUMENT ME!
  *
  * @param addClassPath DOCUMENT ME!
  */
 public void setAddClassPath(final Set<File> addClassPath) {
   if (addClassPath != null) {
     this.addClassPath = addClassPath;
   } else {
     this.addClassPath = TypeSafeCollections.newHashSet();
   }
 }
Example #3
0
 /** <editor-fold defaultstate="collapsed" desc="Constructors">. */
 public ProjectOptions() {
   this.addClassPath = TypeSafeCollections.newHashSet();
   this.driver = TypeSafeCollections.newArrayList();
   this.defaultFinalizerClass = "";
   this.defaultFinalizerProperties = new Properties();
 }