KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > simulator > crasher > ProcessContainerConfig


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

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