|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PageBoxLib.RepoTest
Test of the Repository for miscellaneous errors.
Changes:
alexis.grandemange@pagebox.net
Copyright (c) 2002-2004 Alexis Grandemange
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License lesser.txt should be included in the distribution.
Field Summary | |
(package private) static int |
BEGIN_ADD
Beginning of add method state |
(package private) static int |
BEGIN_DEL
Beginning of delete method state |
(package private) static int |
END_ADD
End of add method state |
(package private) static int |
END_DEL
Beginning of delete method state |
(package private) Log |
log
Logging object |
(package private) java.lang.String |
workDir
Directory where repotest.txt is defined |
Constructor Summary | |
(package private) |
RepoTest(java.lang.String workDir,
Log log)
Constructor. |
Method Summary | |
(package private) DeployIF.Status |
exercise(java.lang.String arch,
int state)
Return a status according to the content of repotest.txt. |
(package private) boolean |
exercise2(java.lang.String repURL)
Return true or false according to the content of repotest.txt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final int BEGIN_ADD
static final int END_ADD
static final int BEGIN_DEL
static final int END_DEL
java.lang.String workDir
Log log
Constructor Detail |
RepoTest(java.lang.String workDir, Log log)
workDir
- directory where repotest.txt is definedlog
- logging objectMethod Detail |
DeployIF.Status exercise(java.lang.String arch, int state)
Format:.
arch
- archive namestate
- BEGIN_ADD, BEGIN_DEL, END_ADD or END_DELboolean exercise2(java.lang.String repURL)
repURL
- URL of the RepoQueryIF web service of the repository
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |