|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.connection.TestResult
コネクションのテスト結果を表すクラスです。
Constructor Summary | |
TestResult(boolean bSucceed)
テスト結果を作成します。 |
|
TestResult(Exception e)
テストがExceptionで失敗した場合のテスト結果を作成します。 |
Method Summary | |
void |
addParam(String key,
String value)
テスト結果にパラメータを追加します。 |
Exception |
getException()
テストで発生したExceptionを返します。 |
int |
getParamCount()
テスト結果のパラメータ数を返します。 |
String |
getParamKey(int idx)
idx番目のパラメータのパラメータ名を返します。 |
String |
getParamValue(int idx)
idx番目のパラメータのパラメータ値を返します。 |
String |
getParamValue(String key)
keyというパラメータ名のパラメータ値を返します。 |
boolean |
isSucceed()
テストが成功したかどうかを返します。 |
void |
setException(Exception e)
テストで発生したExceptionを設定します。 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestResult(boolean bSucceed)
bSucceed
- テストに成功した場合はtruepublic TestResult(Exception e)
Exception
- テストで発生したエクセプションMethod Detail |
public boolean isSucceed()
public void setException(Exception e)
public Exception getException()
public void addParam(String key, String value)
key
- パラメータ名value
- パラメータ値public int getParamCount()
public String getParamKey(int idx)
public String getParamValue(int idx)
public String getParamValue(String key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |