hudson.plugins.scm_sync_configuration
Class ScmSyncConfigurationPlugin
java.lang.Object
hudson.Plugin
hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin
- All Implemented Interfaces:
- hudson.model.Saveable
public class ScmSyncConfigurationPlugin
- extends hudson.Plugin
| Nested classes/interfaces inherited from class hudson.Plugin |
hudson.Plugin.DummyImpl |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
| Methods inherited from class hudson.Plugin |
configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVAILABLE_STRATEGIES
public static final transient ScmSyncStrategy[] AVAILABLE_STRATEGIES
ScmSyncConfigurationPlugin
public ScmSyncConfigurationPlugin()
start
public void start()
throws java.lang.Exception
- Overrides:
start in class hudson.Plugin
- Throws:
java.lang.Exception
init
public void init()
stop
public void stop()
throws java.lang.Exception
- Overrides:
stop in class hudson.Plugin
- Throws:
java.lang.Exception
configure
public void configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws java.io.IOException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
- Overrides:
configure in class hudson.Plugin
- Throws:
java.io.IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
doSubmitComment
public void doSubmitComment(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
doHelpForRepositoryUrl
public void doHelpForRepositoryUrl(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
deleteHierarchy
public void deleteHierarchy(java.io.File rootHierarchy)
renameHierarchy
public void renameHierarchy(java.io.File oldDir,
java.io.File newDir)
synchronizeFile
public void synchronizeFile(java.io.File modifiedFile)
getInstance
public static ScmSyncConfigurationPlugin getInstance()
getStrategyForSaveable
public ScmSyncStrategy getStrategyForSaveable(hudson.model.Saveable s,
java.io.File f)
createScmContext
public ScmContext createScmContext()
shouldDecorationOccursOnURL
public boolean shouldDecorationOccursOnURL(java.lang.String url)
getStrategyForURL
public ScmSyncStrategy getStrategyForURL(java.lang.String url)
getScms
public SCM[] getScms()
setBusiness
public void setBusiness(ScmSyncConfigurationBusiness business)
getScmRepositoryUrl
public java.lang.String getScmRepositoryUrl()
isScmSelected
public boolean isScmSelected(SCM _scm)
getSCM
public SCM getSCM()
getScmUrl
public java.lang.String getScmUrl()
getDescriptorForSCM
public hudson.model.Descriptor<? extends hudson.scm.SCM> getDescriptorForSCM(java.lang.String scmName)
Copyright © 2011. All Rights Reserved.