public class InspectorProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FILENAME |
static int |
UNSET_INT |
| Constructor and Description |
|---|
InspectorProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getJvmName() |
String |
getJvmPackageVersion() |
String |
getJvmVersion() |
long |
getMessageSize() |
String |
getOperatingSystemArch() |
String |
getOperatingSystemName() |
String |
getOperatingSystemVersion() |
int |
getParallelCount() |
String |
getProductName() |
String |
getProductVersion() |
int |
getRate() |
long |
getSystemCpuCount() |
long |
getSystemMemory() |
long |
getSystemSwap() |
boolean |
isVariableSize() |
void |
load(File testProperties)
Load a properties file (ie.: test.properties)
|
protected void |
load(Properties prop) |
void |
setJvmName(String jvmName) |
void |
setJvmPackageVersion(String jvmPackageVersion) |
void |
setJvmVersion(String jvmVersion) |
void |
setMessageSize(long messageSize) |
void |
setMessageSize(String messageSize) |
void |
setOperatingSystemArch(String operatingSystemArch) |
void |
setOperatingSystemName(String operatingSystemName) |
void |
setOperatingSystemVersion(String operatingSystemVersion) |
void |
setParallelCount(int parallelCount) |
void |
setParallelCount(String parallelCount) |
void |
setProductName(String productName) |
void |
setProductVersion(String productVersion) |
void |
setRate(int rate) |
void |
setRate(String rate) |
void |
setSystemCpuCount(long systemCpuCount) |
void |
setSystemMemory(long systemMemory) |
void |
setSystemSwap(long systemSwap) |
void |
setVariableSize(boolean variableSize) |
String |
toString() |
void |
write(File testProperties)
Write to a properties file
|
protected void |
write(Properties prop) |
public static String FILENAME
public static int UNSET_INT
public void load(File testProperties) throws IOException
MaestroTestPropertiestestProperties - A file object pointing to the file to be loadedIOException - If the file cannot be readpublic void write(File testProperties) throws IOException
MaestroTestPropertiestestProperties - A file object pointing to the file to be writtenIOException - If the file cannot be writtenpublic String getJvmName()
public void setJvmName(String jvmName)
public String getJvmVersion()
public void setJvmVersion(String jvmVersion)
public String getJvmPackageVersion()
public void setJvmPackageVersion(String jvmPackageVersion)
public String getOperatingSystemName()
public void setOperatingSystemName(String operatingSystemName)
public String getOperatingSystemArch()
public void setOperatingSystemArch(String operatingSystemArch)
public String getOperatingSystemVersion()
public void setOperatingSystemVersion(String operatingSystemVersion)
public long getSystemCpuCount()
public void setSystemCpuCount(long systemCpuCount)
public long getSystemMemory()
public void setSystemMemory(long systemMemory)
public long getSystemSwap()
public void setSystemSwap(long systemSwap)
public String getProductName()
public void setProductName(String productName)
public String getProductVersion()
public void setProductVersion(String productVersion)
public final void setMessageSize(long messageSize)
setMessageSize in interface MaestroTestPropertiespublic final void setMessageSize(String messageSize)
setMessageSize in interface MaestroTestPropertiespublic final long getMessageSize()
getMessageSize in interface MaestroTestPropertiespublic final void setParallelCount(int parallelCount)
setParallelCount in interface MaestroTestPropertiespublic final void setParallelCount(String parallelCount)
setParallelCount in interface MaestroTestPropertiespublic final int getParallelCount()
getParallelCount in interface MaestroTestPropertiespublic final void setVariableSize(boolean variableSize)
setVariableSize in interface MaestroTestPropertiespublic final boolean isVariableSize()
isVariableSize in interface MaestroTestPropertiespublic void setRate(int rate)
setRate in interface MaestroTestPropertiespublic void setRate(String rate)
setRate in interface MaestroTestPropertiespublic final int getRate()
getRate in interface MaestroTestPropertiesprotected void write(Properties prop)
protected void load(Properties prop)
This documentation was released into the public domain.