hudson.plugins.scm_sync_configuration.strategies
Interface ScmSyncStrategy
- All Known Implementing Classes:
- AbstractScmSyncStrategy, HudsonConfigScmSyncStrategy, JobConfigScmSyncStrategy
public interface ScmSyncStrategy
isSaveableApplicable
boolean isSaveableApplicable(hudson.model.Saveable saveable,
java.io.File file)
- Is the given Saveable eligible for the current strategy ?
- Parameters:
saveable - A saveable which is savedfile - Corresponding file to the given Saveable object
- Returns:
- true if current Saveable instance matches with current ScmSyncStrategy target,
false otherwise
isCurrentUrlApplicable
boolean isCurrentUrlApplicable(java.lang.String url)
- Is the given url eligible for the current strategy ?
- Parameters:
url - Current url, where hudson root url has been truncated
- Returns:
- true if current url matches with current ScmSyncStrategy target, false otherwise
createInitializationSynchronizedFileset
java.util.List<java.io.File> createInitializationSynchronizedFileset()
- Returns:
- a Fileset of file to synchronize when initializing scm repository
Copyright © 2011. All Rights Reserved.