public class DimensionsSCM extends hudson.scm.SCM implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
DimensionsSCM.DescriptorImpl
Implementation class for Dimensions CM SCM plugin.
|
| Modifier and Type | Field and Description |
|---|---|
static DimensionsSCM.DescriptorImpl |
DM_DESCRIPTOR |
| Constructor and Description |
|---|
DimensionsSCM(String project,
String[] folders,
String[] pathsToExclude,
String workarea,
boolean canJobDelete,
boolean canJobForce,
boolean canJobRevert,
String jobUserName,
String jobPasswd,
String jobServer,
String jobDatabase,
boolean canJobUpdate,
String jobTimeZone,
String jobWebUrl,
String directory,
String permissions,
String eol,
boolean canJobExpand,
boolean canJobNoMetadata,
boolean canJobNoTouch,
boolean forceAsSlave) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env)
Build up environment variables for build support.
|
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Has the repository had any changes since last build?
|
boolean |
checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changelogFile)
Checkout method for the plugin.
|
protected hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline)
Has the repository had any changes?
|
hudson.scm.ChangeLogParser |
createChangeLogParser()
Create a log parser object.
|
PathMatcher |
createPathMatcher()
Creates path matcher to ignore changes on certain paths.
|
DimensionsAPI |
getAPI() |
DimensionsSCMRepositoryBrowser |
getBrowser() |
DimensionsSCM.DescriptorImpl |
getDescriptor()
Return an SCM descriptor.
|
String |
getDirectory()
Gets the project path.
|
String |
getEol()
Gets the eol value.
|
String[] |
getFolders()
Gets the project paths to monitor.
|
String |
getJobDatabase()
Gets the database name for the connection.
|
String |
getJobPasswd()
Gets the password for the connection.
|
String |
getJobServer()
Gets the server name for the connection.
|
String |
getJobTimeZone()
Gets the time zone for the connection.
|
String |
getJobUserName()
Gets the user ID for the connection.
|
String |
getJobWebUrl()
Gets the web URL for the connection.
|
String[] |
getPathsToExclude()
Gets paths excluded from monitoring.
|
String |
getPermissions()
Gets the permissions string.
|
String |
getProject()
Gets the unexpanded project name for the connection.
|
String |
getProjectName(hudson.model.Run<?,?> run,
hudson.model.TaskListener log)
Gets the expanded project name for the connection.
|
String |
getProjectVersion(hudson.model.Run<?,?> run,
hudson.model.TaskListener log)
Gets the expanded project name and version for the connection.
|
boolean |
isCanJobDelete()
Gets the delete flag.
|
boolean |
isCanJobExpand()
Gets the expand flag.
|
boolean |
isCanJobForce()
Gets the force flag.
|
boolean |
isCanJobNoMetadata()
Gets the no metadata flag.
|
boolean |
isCanJobNoTouch()
Gets the no touch flag.
|
boolean |
isCanJobRevert()
Gets the revert flag.
|
boolean |
isCanJobUpdate()
Gets the update flag.
|
boolean |
isForceAsSlave()
Gets force as slave flag.
|
boolean |
processWorkspaceBeforeDeletion(hudson.model.AbstractProject<?,?> project,
hudson.FilePath workspace,
hudson.model.Node node)
Okay to clear the area?
|
boolean |
requiresWorkspaceForPolling()
Does this SCM plugin require a workspace for polling?
|
boolean |
supportsPolling()
Does this SCM plugin support polling?
|
@Extension public static final DimensionsSCM.DescriptorImpl DM_DESCRIPTOR
@DataBoundConstructor public DimensionsSCM(String project, String[] folders, String[] pathsToExclude, String workarea, boolean canJobDelete, boolean canJobForce, boolean canJobRevert, String jobUserName, String jobPasswd, String jobServer, String jobDatabase, boolean canJobUpdate, String jobTimeZone, String jobWebUrl, String directory, String permissions, String eol, boolean canJobExpand, boolean canJobNoMetadata, boolean canJobNoTouch, boolean forceAsSlave)
public DimensionsAPI getAPI()
public DimensionsSCMRepositoryBrowser getBrowser()
getBrowser in class hudson.scm.SCMpublic String getProject()
public String getProjectName(hudson.model.Run<?,?> run, hudson.model.TaskListener log)
public String getProjectVersion(hudson.model.Run<?,?> run, hudson.model.TaskListener log)
public String getDirectory()
public String getPermissions()
public String getEol()
public String[] getFolders()
public String[] getPathsToExclude()
public String getJobUserName()
public String getJobPasswd()
public String getJobServer()
public String getJobDatabase()
public String getJobTimeZone()
public String getJobWebUrl()
public boolean isCanJobExpand()
public boolean isCanJobNoMetadata()
public boolean isCanJobNoTouch()
public boolean isCanJobUpdate()
public boolean isCanJobDelete()
public boolean isCanJobForce()
public boolean isCanJobRevert()
public boolean isForceAsSlave()
public boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling in class hudson.scm.SCMpublic boolean supportsPolling()
supportsPolling in class hudson.scm.SCMpublic void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env)
buildEnvVars in class hudson.scm.SCMpublic boolean checkout(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.BuildListener listener,
File changelogFile)
throws IOException,
InterruptedException
checkout in class hudson.scm.SCMIOExceptionInterruptedExceptionpublic hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
calcRevisionsFromBuild in class hudson.scm.SCMIOExceptionInterruptedExceptionprotected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState baseline)
throws IOException,
InterruptedException
compareRemoteRevisionWith in class hudson.scm.SCMIOExceptionInterruptedExceptionpublic boolean processWorkspaceBeforeDeletion(hudson.model.AbstractProject<?,?> project,
hudson.FilePath workspace,
hudson.model.Node node)
throws IOException,
InterruptedException
processWorkspaceBeforeDeletion in class hudson.scm.SCMIOExceptionInterruptedExceptionpublic PathMatcher createPathMatcher()
public hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic DimensionsSCM.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>getDescriptor in class hudson.scm.SCMCopyright © 2004-2016. All Rights Reserved.