To run the Java sample, simply open a command window and navigate to the build folder. Then type:
java -jar SwitchClientSDKSample.jar help and press Enter key.
The Java sample will print a short usage message.
The Java sample can be used to get a list of Submit points, Checkpoints or jobs in a specific Checkpoint and can upload a job, send a Checkpoint job further through the flow and replace Checkpoint job.
For example, to submit a file to Submit point “16.3”, the command could be:
java -jar SwitchClientSDKSample.jar --server=localhost
--user=Administrator --submitpoint=16.3 submit /Users/user/test.pdf