com.xebialabs.deployit.ci.dar
Class RemotePackaging

java.lang.Object
  extended by com.xebialabs.deployit.ci.dar.RemotePackaging
All Implemented Interfaces:
hudson.remoting.Callable<java.io.File,java.lang.RuntimeException>, java.io.Serializable

public class RemotePackaging
extends java.lang.Object
implements hudson.remoting.Callable<java.io.File,java.lang.RuntimeException>

Wrapper for the packaging operation. It must be executed on the target system where the project artifact was built.

See Also:
Jenkins distributed builds, Serialized Form

Constructor Summary
RemotePackaging()
           
 
Method Summary
 java.io.File call()
          Call to be executed via jenkins virtual channel
 RemotePackaging forApplication(java.lang.String applicationName, java.lang.String applicationVersion)
           
 RemotePackaging withDarMembers(java.util.List<com.xebialabs.deployit.engine.packager.content.DarMember> darMembers)
           
 RemotePackaging withListener(com.xebialabs.deployit.engine.packager.content.PackagingListener deploymentListener)
           
 RemotePackaging withTargetDir(java.io.File targetDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotePackaging

public RemotePackaging()
Method Detail

withListener

public RemotePackaging withListener(com.xebialabs.deployit.engine.packager.content.PackagingListener deploymentListener)

withDarMembers

public RemotePackaging withDarMembers(java.util.List<com.xebialabs.deployit.engine.packager.content.DarMember> darMembers)

forApplication

public RemotePackaging forApplication(java.lang.String applicationName,
                                      java.lang.String applicationVersion)

withTargetDir

public RemotePackaging withTargetDir(java.io.File targetDir)

call

public java.io.File call()
                  throws java.lang.RuntimeException
Call to be executed via jenkins virtual channel

Specified by:
call in interface hudson.remoting.Callable<java.io.File,java.lang.RuntimeException>
Throws:
java.lang.RuntimeException