org.jvnet.hudson.test
Class ExtractResourceSCM

java.lang.Object
  extended by hudson.scm.SCM
      extended by hudson.scm.NullSCM
          extended by org.jvnet.hudson.test.ExtractResourceSCM
All Implemented Interfaces:
ExtensionPoint, Describable<SCM>

public class ExtractResourceSCM
extends NullSCM

SCM useful for testing that extracts the given resource as a zip file.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.scm.NullSCM
NullSCM.DescriptorImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.scm.SCM
PERMISSIONS, TAG
 
Constructor Summary
ExtractResourceSCM(java.net.URL zip)
           
 
Method Summary
 boolean checkout(AbstractBuild build, Launcher launcher, FilePath workspace, BuildListener listener, java.io.File changeLogFile)
           
 
Methods inherited from class hudson.scm.NullSCM
createChangeLogParser, pollChanges
 
Methods inherited from class hudson.scm.SCM
_for, all, buildEnvVars, createEmptyChangeLog, getApi, getBrowser, getDescriptor, getEffectiveBrowser, getModuleRoot, getModuleRoots, getType, nullify, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtractResourceSCM

public ExtractResourceSCM(java.net.URL zip)
Method Detail

checkout

public boolean checkout(AbstractBuild build,
                        Launcher launcher,
                        FilePath workspace,
                        BuildListener listener,
                        java.io.File changeLogFile)
                 throws java.io.IOException,
                        java.lang.InterruptedException
Overrides:
checkout in class NullSCM
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2009. All Rights Reserved.