01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.simulator.crasher;
05:
06: import java.io.File;
07: import java.text.DateFormat;
08: import java.util.Collection;
09:
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,
20: Collection serverArgs, String classname,
21: Collection mainClassArgs, File outputDirectory,
22: String outputPrefix) {
23: this .id = id;
24: this .dateFormat = dateFormat;
25: this .serverArgs = serverArgs;
26: this .classname = classname;
27: this .mainClassArgs = mainClassArgs;
28: this .outputDirectory = outputDirectory;
29: this .outputPrefix = outputPrefix;
30: }
31:
32: public Collection getServerArgs() {
33: return serverArgs;
34: }
35:
36: public String getClassname() {
37: return classname;
38: }
39:
40: public Collection getMainClassArgs() {
41: return mainClassArgs;
42: }
43:
44: public File getOutputDirectory() {
45: return outputDirectory;
46: }
47:
48: public String getOutputPrefix() {
49: return outputPrefix;
50: }
51:
52: public String getID() {
53: return id;
54: }
55:
56: public DateFormat getDateFormat() {
57: return dateFormat;
58: }
59: }
|