1 4 package com.tcsimulator; 5 6 7 import java.util.List ; 8 9 public class ClientViewImpl implements ClientView { 10 11 private final ClientSpec spec; 12 13 public ClientViewImpl(ClientSpec cSpec) { 14 spec = cSpec; 15 } 16 17 public String getHostName() { 18 return this.spec.getHostName(); 19 } 20 21 public String getTestHome() { 22 return this.spec.getTestHome(); 23 } 24 25 public int getVMCount() { 26 return this.spec.getVMCount(); 27 } 28 29 public int getExecutionCount() { 30 return this.spec.getExecutionCount(); 31 } 32 33 public List getJvmOpts() { 34 return this.spec.getJvmOpts(); 35 } 36 37 public ClientView copy() { 38 return new ClientViewImpl(this.spec.copy()); 39 } 40 41 } 42 | Popular Tags |