Class CleanUpCallable
- java.lang.Object
-
- com.piketec.jenkins.plugins.tpt.api.callables.TptApiCallable<Boolean>
-
- com.piketec.jenkins.plugins.tpt.api.callables.CleanUpCallable
-
- All Implemented Interfaces:
hudson.remoting.Callable<Boolean,InterruptedException>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
public class CleanUpCallable extends TptApiCallable<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, String hostName, int tptPort, String tptBindingName, FilePath[] exePaths, long tptStartUpTime, FilePath tptFilePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, String hostName, int tptPort, String tptBindingName, FilePath[] exePaths, long tptStartUpTime, FilePath tptFilePath)
-
-
Method Detail
-
call
public Boolean call() throws InterruptedException
- Throws:
InterruptedException
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker arg0) throws SecurityException
- Throws:
SecurityException
-
getFilePath
public FilePath getFilePath()
-
-