public class SandboxUtils extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
BUILD_REVISION |
static String |
DEVELOPMENT_PATH |
static String |
PROJECT_PJ |
| Constructor and Description |
|---|
SandboxUtils(IntegrityConfigurable integrityConfigurable,
hudson.model.TaskListener listener) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
dropSandbox(ISession session,
hudson.FilePath workspace,
IntegrityCMProject siProject) |
String |
getChangeLog(com.mks.api.response.WorkItemIterator itWrokItem) |
ISession |
getLocalAPISession() |
boolean |
resyncSandbox(ISession session,
hudson.FilePath workspace,
boolean cleanCopy,
boolean deleteNonMembers,
boolean restoreTimestamp,
File changeLogFile,
String includeList,
String excludeList,
String sandboxScope)
Resync the sandbox - cleanCopy forces the resync unchangedFiles as well.
|
int |
terminateClient() |
protected boolean |
verifyCreateSandbox(ISession session,
IntegrityCMProject siProject,
hudson.FilePath workspace,
String lineTerminator,
String sandboxScope) |
protected boolean |
verifySandbox(ISession session,
IntegrityCMProject siProject,
hudson.FilePath workspace) |
boolean |
viewSandboxChanges(ISession session,
hudson.FilePath workspace)
View the sandbox for any changes during Polling
|
public static final String PROJECT_PJ
public static final String DEVELOPMENT_PATH
public static final String BUILD_REVISION
public SandboxUtils(IntegrityConfigurable integrityConfigurable, hudson.model.TaskListener listener)
public ISession getLocalAPISession()
protected boolean verifyCreateSandbox(ISession session, IntegrityCMProject siProject, hudson.FilePath workspace, String lineTerminator, String sandboxScope) throws com.mks.api.response.APIException
session - siProject - workspace - lineTerminator - com.mks.api.response.APIExceptionprotected boolean verifySandbox(ISession session, IntegrityCMProject siProject, hudson.FilePath workspace) throws com.mks.api.response.APIException
com.mks.api.response.APIExceptionprotected boolean dropSandbox(ISession session, hudson.FilePath workspace, IntegrityCMProject siProject) throws com.mks.api.response.APIException
workspace - com.mks.api.response.APIExceptionpublic boolean resyncSandbox(ISession session, hudson.FilePath workspace, boolean cleanCopy, boolean deleteNonMembers, boolean restoreTimestamp, File changeLogFile, String includeList, String excludeList, String sandboxScope) throws com.mks.api.response.APIException, FileNotFoundException, UnsupportedEncodingException
session - workspace - cleanCopy - deleteNonMembers - restoreTimestamp - changeLogFile - includeList - excludeList - @returncom.mks.api.response.APIExceptionFileNotFoundExceptionUnsupportedEncodingExceptionpublic String getChangeLog(com.mks.api.response.WorkItemIterator itWrokItem) throws com.mks.api.response.APIException
com.mks.api.response.APIExceptionpublic boolean viewSandboxChanges(ISession session, hudson.FilePath workspace) throws com.mks.api.response.APIException
session - workspace - com.mks.api.response.APIExceptionpublic int terminateClient()
Copyright © 2016–2024. All rights reserved.