hudson.plugins.scm_sync_configuration.strategies
Interface ScmSyncStrategy
- All Known Implementing Classes:
- AbstractScmSyncStrategy, JobConfigScmSyncStrategy
public interface ScmSyncStrategy
|
Method Summary |
boolean |
isCurrentUrlApplicable(java.lang.String url)
Is the given url eligible for the current strategy ? |
boolean |
isSaveableApplicable(hudson.model.Saveable saveable)
Is the given Saveable eligible for the current strategy ? |
isSaveableApplicable
boolean isSaveableApplicable(hudson.model.Saveable saveable)
- Is the given Saveable eligible for the current strategy ?
- Parameters:
saveable - A saveable which is saved
- 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
Copyright © 2010. All Rights Reserved.