public class ScmSyncConfigurationBusiness extends Object
Constructor and Description |
---|
ScmSyncConfigurationBusiness() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCurrentUserPurgeFailLogs() |
void |
cleanChekoutScmDirectory() |
List<File> |
deleteHierarchy(ScmContext scmContext,
Path hierarchyPath) |
static String |
getCheckoutScmDirectoryAbsolutePath() |
static String |
getScmDirectoryName() |
ScmSyncConfigurationStatusManager |
getScmSyncConfigurationStatusManager() |
void |
init(ScmContext scmContext) |
void |
initializeRepository(ScmContext scmContext,
boolean deleteCheckoutScmDir) |
void |
purgeFailLogs() |
Future<Void> |
queueChangeSet(ScmContext scmContext,
ChangeSet changeset,
hudson.model.User user,
String userMessage) |
List<File> |
reloadAllFilesFromScm() |
boolean |
scmCheckoutDirectorySettledUp(ScmContext scmContext) |
void |
synchronizeAllConfigs(ScmSyncStrategy[] availableStrategies) |
public ScmSyncConfigurationStatusManager getScmSyncConfigurationStatusManager()
public void init(ScmContext scmContext) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException, org.codehaus.plexus.PlexusContainerException
org.codehaus.plexus.component.repository.exception.ComponentLookupException
org.codehaus.plexus.PlexusContainerException
public void initializeRepository(ScmContext scmContext, boolean deleteCheckoutScmDir)
public void cleanChekoutScmDirectory()
public List<File> deleteHierarchy(ScmContext scmContext, Path hierarchyPath)
public Future<Void> queueChangeSet(ScmContext scmContext, ChangeSet changeset, hudson.model.User user, String userMessage)
public void synchronizeAllConfigs(ScmSyncStrategy[] availableStrategies)
public boolean scmCheckoutDirectorySettledUp(ScmContext scmContext)
public List<File> reloadAllFilesFromScm() throws IOException, org.apache.maven.scm.ScmException
IOException
org.apache.maven.scm.ScmException
public static String getCheckoutScmDirectoryAbsolutePath()
public static String getScmDirectoryName()
public void purgeFailLogs()
public boolean canCurrentUserPurgeFailLogs()
Copyright © 2004-2016. All Rights Reserved.