Class JvmArguments
- java.lang.Object
-
- org.codehaus.cargo.container.websphere.util.JvmArguments
-
public final class JvmArguments extends Object
Used for parsing and retrieving JVM arguments.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGenericArgs()
long
getInitialHeap(ByteUnit expectedUnit)
long
getMaxHeap(ByteUnit expectedUnit)
static JvmArguments
parseArguments(String arguments)
Used for parsing JVM arguments string into specific values.
-
-
-
Method Detail
-
parseArguments
public static JvmArguments parseArguments(String arguments)
Used for parsing JVM arguments string into specific values.- Parameters:
arguments
- JVM arguments.- Returns:
- Instance containing parsed values.
-
getInitialHeap
public long getInitialHeap(ByteUnit expectedUnit)
- Parameters:
expectedUnit
- Expected byte unit.- Returns:
- Initial heap size.
-
getMaxHeap
public long getMaxHeap(ByteUnit expectedUnit)
- Parameters:
expectedUnit
- Expected byte unit.- Returns:
- Maximum heap size.
-
getGenericArgs
public String getGenericArgs()
- Returns:
- Other arguments.
-
-