ssscm
Class ShellScriptSCM
java.lang.Object
hudson.scm.SCM
ssscm.ShellScriptSCM
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.SCM>, java.io.Serializable
public class ShellScriptSCM
- extends hudson.scm.SCM
- implements java.io.Serializable
- Author:
- Richard Sczepczenski
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.scm.SCM |
PERMISSIONS, TAG |
| Methods inherited from class hudson.scm.SCM |
_for, all, buildEnvVars, createEmptyChangeLog, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoots, nullify, processWorkspaceBeforeDeletion, requiresWorkspaceForPolling, supportsPolling |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellScriptSCM
public ShellScriptSCM(java.lang.String checkoutShell,
java.lang.String pollingShell)
- Creates the ShellScriptSCM
- Parameters:
checkoutShell - The shell command used when a checkout is donepollingShell - The shell command to use for polling
ShellScriptSCM
@DataBoundConstructor
public ShellScriptSCM(java.lang.String checkoutShell,
java.lang.String pollingShell,
java.lang.Boolean useCheckoutForPolling)
- Creates the ShellScriptSCM
- Parameters:
checkoutShell - The shell command used when a checkout is donepollingShell - The shell command to use for pollinguseCheckoutForPolling - Set to true to use the checkout shell for polling, false
if the polling shell is to be used for polling.
getCheckoutShell
@Exported
public java.lang.String getCheckoutShell()
- Returns:
- The shell command used when a checkout is done
setCheckoutShell
@Exported
public void setCheckoutShell(java.lang.String checkoutShell)
- Parameters:
checkoutShell - The shell command used when a checkout is done
getPollingShell
@Exported
public java.lang.String getPollingShell()
- Returns:
- the pollingShell
setPollingShell
@Exported
public void setPollingShell(java.lang.String pollingShell)
- Parameters:
pollingShell - The shell command to use for polling
isUseCheckoutForPolling
@Exported
public boolean isUseCheckoutForPolling()
- Returns:
- true if the checkout shell is to be used for polling, false if the
polling shell is to be used for polling.
setUseCheckoutForPolling
@Exported
public void setUseCheckoutForPolling(java.lang.Boolean useCheckoutForPolling)
- Parameters:
useCheckoutForPolling - Set to true to use the checkout shell for polling, false
if the polling shell is to be used for polling.
checkout
public boolean checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
java.io.File changelogFile)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
checkout in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
createChangeLogParser
public hudson.scm.ChangeLogParser createChangeLogParser()
- Specified by:
createChangeLogParser in class hudson.scm.SCM
pollChanges
public boolean pollChanges(hudson.model.AbstractProject project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Specified by:
pollChanges in class hudson.scm.SCM
- Throws:
java.io.IOException
java.lang.InterruptedException
getDescriptor
public ShellScriptSCM.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>- Overrides:
getDescriptor in class hudson.scm.SCM
Copyright © 2011. All Rights Reserved.