Class 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface hudson.remoting.Callable

        getChannelOrFail, getOpenChannelOrFail
    • 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()