hudson.plugins.dimensionsscm
Class GenericAPITask

java.lang.Object
  extended by hudson.plugins.dimensionsscm.GenericAPITask
All Implemented Interfaces:
hudson.FilePath.FileCallable<java.lang.Boolean>, java.io.Serializable
Direct Known Subclasses:
CheckInAPITask, CheckOutAPITask

public class GenericAPITask
extends java.lang.Object
implements hudson.FilePath.FileCallable<java.lang.Boolean>

Class implementation of the checkout process.

See Also:
Serialized Form

Field Summary
protected  java.lang.String database
           
protected  DimensionsAPI dmSCM
           
protected  FileUtils fu
           
protected  long key
           
protected  hudson.model.TaskListener listener
           
protected  java.lang.String passwd
           
protected  java.lang.String permissions
           
protected static long serialVersionUID
           
protected  java.lang.String server
           
protected  java.lang.String userName
           
protected  hudson.FilePath workspace
           
 
Constructor Summary
GenericAPITask()
           
GenericAPITask(DimensionsSCM parent, hudson.FilePath workspace, hudson.model.TaskListener listener)
           
 
Method Summary
 java.lang.Boolean execute(java.io.File area, hudson.remoting.VirtualChannel channel)
           
 java.lang.Boolean invoke(java.io.File area, hudson.remoting.VirtualChannel channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workspace

protected hudson.FilePath workspace

listener

protected hudson.model.TaskListener listener

userName

protected java.lang.String userName

passwd

protected java.lang.String passwd

database

protected java.lang.String database

server

protected java.lang.String server

permissions

protected java.lang.String permissions

key

protected long key

dmSCM

protected DimensionsAPI dmSCM

fu

protected FileUtils fu

serialVersionUID

protected static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

GenericAPITask

public GenericAPITask()

GenericAPITask

public GenericAPITask(DimensionsSCM parent,
                      hudson.FilePath workspace,
                      hudson.model.TaskListener listener)
Method Detail

invoke

public java.lang.Boolean invoke(java.io.File area,
                                hudson.remoting.VirtualChannel channel)
                         throws java.io.IOException
Specified by:
invoke in interface hudson.FilePath.FileCallable<java.lang.Boolean>
Throws:
java.io.IOException

execute

public java.lang.Boolean execute(java.io.File area,
                                 hudson.remoting.VirtualChannel channel)
                          throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.