Package hudson.scm.api.session
Interface ISession
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
APISession
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidping()voidcom.mks.api.response.ResponserunCommand(com.mks.api.Command cmd) com.mks.api.response.ResponserunCommandWithInterim(com.mks.api.Command cmd) booleanMethods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
runCommand
com.mks.api.response.Response runCommand(com.mks.api.Command cmd) throws com.mks.api.response.APIException - Throws:
com.mks.api.response.APIException
-
runCommandWithInterim
com.mks.api.response.Response runCommandWithInterim(com.mks.api.Command cmd) throws com.mks.api.response.APIException - Throws:
com.mks.api.response.APIException
-
terminate
boolean terminate() -
getUserName
String getUserName() -
refreshAPISession
void refreshAPISession() throws com.mks.api.response.APIException- Throws:
com.mks.api.response.APIException
-
ping
void ping() throws com.mks.api.response.APIException- Throws:
com.mks.api.response.APIException
-
checkifAlive
void checkifAlive() throws com.mks.api.response.APIException- Throws:
com.mks.api.response.APIException
-