|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.interview.Interview
com.sun.javatest.interview.ConcurrencyInterview
public class ConcurrencyInterview
This interview collects the concurrency parameter. It is normally used as one of a series of sub-interviews that collect the parameter information for a test run.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.interview.Interview |
|---|
Interview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.Observer |
| Field Summary | |
|---|---|
protected int |
maxValue
|
| Fields inherited from class com.sun.interview.Interview |
|---|
EXPORT_IGNORE_ALL_EXCEPTIONS, EXPORT_IGNORE_NO_EXCEPTIONS, EXPORT_IGNORE_RUNTIME_EXCEPTIONS, EXTERNAL_PREF, helpSetFactory, INTERVIEW, LOCALE, MARKERS, MARKERS_PREF, QUESTION, SEMANTIC_MAX_VERSION, SEMANTIC_PRE_32, SEMANTIC_VERSION_32, SEMANTIC_VERSION_43, TEMPLATE_PREF |
| Fields inherited from interface com.sun.javatest.Parameters.ConcurrencyParameters |
|---|
MAX_CONCURRENCY, MIN_CONCURRENCY |
| Constructor Summary | |
|---|---|
ConcurrencyInterview(Interview parent)
Create an interview. |
|
ConcurrencyInterview(Interview parent,
int max)
Create an interview. |
|
| Method Summary | |
|---|---|
int |
getConcurrency()
Get the concurrency value from the interview. |
void |
setConcurrency(int conc)
Set the concurrency value in the interview. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int maxValue
| Constructor Detail |
|---|
public ConcurrencyInterview(Interview parent)
throws Interview.Fault
parent - The parent interview of which this is a child.
Interview.Fault - if there is a problem while creating the interview.
public ConcurrencyInterview(Interview parent,
int max)
throws Interview.Fault
parent - The parent interview of which this is a child.max - The maximum value for concurrency which should be accepted.
Should be a value between 1 and the maximum possible positive value.
Interview.Fault - if there is a problem while creating the interview.| Method Detail |
|---|
public int getConcurrency()
getConcurrency in interface Parameters.ConcurrencyParameterssetConcurrency(int)public void setConcurrency(int conc)
setConcurrency in interface Parameters.MutableConcurrencyParametersconc - The desired concurrency value.getConcurrency()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||