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.tcsimulator;
05:
06: import java.util.List;
07:
08: public class ClientViewImpl implements ClientView {
09:
10: private final ClientSpec spec;
11:
12: public ClientViewImpl(ClientSpec cSpec) {
13: spec = cSpec;
14: }
15:
16: public String getHostName() {
17: return this .spec.getHostName();
18: }
19:
20: public String getTestHome() {
21: return this .spec.getTestHome();
22: }
23:
24: public int getVMCount() {
25: return this .spec.getVMCount();
26: }
27:
28: public int getExecutionCount() {
29: return this .spec.getExecutionCount();
30: }
31:
32: public List getJvmOpts() {
33: return this .spec.getJvmOpts();
34: }
35:
36: public ClientView copy() {
37: return new ClientViewImpl(this.spec.copy());
38: }
39:
40: }
|