Class CleanUpCallable
- java.lang.Object
-
- com.piketec.jenkins.plugins.tpt.api.callables.TptApiCallable<java.lang.Boolean>
-
- com.piketec.jenkins.plugins.tpt.api.callables.CleanUpCallable
-
- All Implemented Interfaces:
hudson.remoting.Callable<java.lang.Boolean,java.lang.InterruptedException>
,java.io.Serializable
,org.jenkinsci.remoting.RoleSensitive
public class CleanUpCallable extends TptApiCallable<java.lang.Boolean>
This code is executed on a Jenkins Agent. It should close an open TPT Project.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CleanUpCallable(TaskListener listener, java.lang.String hostName, int tptPort, java.lang.String tptBindingName, FilePath[] exePaths, long tptStartUpTime, FilePath tptFilePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
call()
void
checkRoles(org.jenkinsci.remoting.RoleChecker arg0)
FilePath
getFilePath()
-
Methods inherited from class com.piketec.jenkins.plugins.tpt.api.callables.TptApiCallable
getApi, getApiIfTptIsOpen, getLogger
-
-
-
-
Constructor Detail
-
CleanUpCallable
public CleanUpCallable(TaskListener listener, java.lang.String hostName, int tptPort, java.lang.String tptBindingName, FilePath[] exePaths, long tptStartUpTime, FilePath tptFilePath)
-
-
Method Detail
-
call
public java.lang.Boolean call() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker arg0) throws java.lang.SecurityException
- Throws:
java.lang.SecurityException
-
getFilePath
public FilePath getFilePath()
-
-