Description
This method sets the local repository the client will use.
Exceptions
The following GenRocket Exception may be thrown by this method:
- Repo name is required
Runtime Method Signature
Use this method signature when directly accessing the GenRocket binary runtime.
void clientRepoSet(String repoName)
REST/Socket Payload Request
Use this API JSON request payload when making an API call to the GenRocket REST or Socket Engine.
{
"interfaceType": "Manual",
"methodName": "clientRepoSet",
"parameters": {
"repoName": ""
}
}Example Usage
On line #1, the client is set to use the BankDemo repository.
final EngineAPI api = new EngineManual()
api.clientRepoSet('BankDemo')
api.clientRepoScenarioLoad('UserScenario')
api.clientRepoRun()