public class JDKVersionPrms extends BasePrms
JDKVersionDescription.
These can be referenced by instances of ClientDescription as
configured using ClientPrms-jdkVersionNames.
The number of description instances is gated by names. For other
parameters, if fewer values than names are given, the remaining instances
will use the last value in the list. See $JTESTS/hydra/hydra.txt for more
details.
Unused parameters default to null, except where noted. This uses the default, except where noted.
Values and fields of a parameter can be set to BasePrms.DEFAULT,
except where noted. This uses the default, except where noted.
Values and fields of a parameter can use oneof, range, or robing except where noted, but each description created will use a fixed value chosen at test configuration time. Use as a task attribute is illegal.
| Modifier and Type | Field and Description |
|---|---|
static Long |
javaHomes
(Comma-separated lists of String(s))
Java home directories used by hydra client JVMs configured to use this
description.
|
static Long |
names
(String(s))
Logical names of the JDK version descriptions.
|
| Constructor and Description |
|---|
JDKVersionPrms() |
public static Long names
public static Long javaHomes
HostPrms.javaHomes. Otherwise, hydra
starts a hydra client with the first Java home given. Each time the JVM
is restarted, it uses the next Java home in its list. Once the last Java
home is reached, the JVM stays with it for all further restarts.
This feature was put in place for tests that do rolling JDK upgrades. It is up to the test developer to use Java versions that are compatible with the corresponding product versions. For example, a product built with JDK 1.7 cannot run in a 1.6 JVM.
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.