Checking for task completion

Top  Previous  Next

To check to see if a task has completed invoke the SshTask#isComplete method.

 

Example

 

// wait until task is complete

while(!task.isComplete()) {

 Thread.sleep(100);

}





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC