public class QuerySample extends LoginSample
This class demonstrates how to retrieve a number of issues from a Track+
server by a query via the web service interface using the Track+ Client
Library (TCL). The class uses the LoginSample
class to perform
the login. You need to set the URL and the user name and password in that
class before you compile and run this class here.
This example is a Java console application. You can run it directly by
calling its main()
method.
connector, pField, uName, url
Constructor and Description |
---|
QuerySample() |
QuerySample(TCLFacade connector) |
Modifier and Type | Method and Description |
---|---|
void |
executeCustomQuery() |
void |
executeQuery(java.lang.String queryID) |
WSTreeNode[] |
getQueries() |
void |
loadReportConfigBean() |
static void |
main(java.lang.String[] args) |
checkVersion, handleTCLFacadeException, login, login, run, startTime, stopTime
public QuerySample()
public QuerySample(TCLFacade connector)
public WSTreeNode[] getQueries()
public void executeQuery(java.lang.String queryID)
public void executeCustomQuery()
public void loadReportConfigBean()
public static void main(java.lang.String[] args)