1 4 package com.tc.simulator.crasher; 5 6 import java.io.File ; 7 import java.text.DateFormat ; 8 import java.util.Collection ; 9 10 public class ProcessContainerConfig { 11 private final String id; 12 private final Collection serverArgs; 13 private final String classname; 14 private final Collection mainClassArgs; 15 private final File outputDirectory; 16 private final String outputPrefix; 17 private final DateFormat dateFormat; 18 19 public ProcessContainerConfig(String id, DateFormat dateFormat, Collection serverArgs, String classname, Collection mainClassArgs, 20 File outputDirectory, String outputPrefix) { 21 this.id = id; 22 this.dateFormat = dateFormat; 23 this.serverArgs = serverArgs; 24 this.classname = classname; 25 this.mainClassArgs = mainClassArgs; 26 this.outputDirectory = outputDirectory; 27 this.outputPrefix = outputPrefix; 28 } 29 30 public Collection getServerArgs() { 31 return serverArgs; 32 } 33 34 public String getClassname() { 35 return classname; 36 } 37 38 public Collection getMainClassArgs() { 39 return mainClassArgs; 40 } 41 42 public File getOutputDirectory() { 43 return outputDirectory; 44 } 45 46 public String getOutputPrefix() { 47 return outputPrefix; 48 } 49 50 public String getID() { 51 return id; 52 } 53 54 public DateFormat getDateFormat() { 55 return dateFormat; 56 } 57 } | Popular Tags |