|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.scm.SCM
hudson.plugins.accurev.AccurevSCM
public class AccurevSCM
Created by IntelliJ IDEA.
| Nested Class Summary | |
|---|---|
static class |
AccurevSCM.AccurevSCMDescriptor
|
static class |
AccurevSCM.AccurevServer
Bean that contains the definition of an accurev server, as contained by the global configuration. |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
static SimpleDateFormat |
ACCUREV_DATETIME_FORMATTER
|
static AccurevSCM.AccurevSCMDescriptor |
DESCRIPTOR
|
| Fields inherited from class hudson.scm.SCM |
|---|
PERMISSIONS, TAG |
| Constructor Summary | |
|---|---|
AccurevSCM(String serverName,
String depot,
String stream,
org.kohsuke.stapler.StaplerRequest req,
boolean useReftree,
String reftree,
String subPath,
String filterForPollSCM,
boolean synctime,
boolean cleanreftree,
boolean useSnapshot,
String snapshotNameFormat,
String directoryOffset,
boolean ignoreStreamParent)
Our constructor. |
|
| Method Summary | |
|---|---|
void |
buildEnvVars(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env)
Exposes AccuRev-specific information to the environment. |
hudson.scm.SCMRevisionState |
calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> ab,
hudson.Launcher lnchr,
hudson.model.TaskListener tl)
|
boolean |
checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath jenkinsWorkspace,
hudson.model.BuildListener listener,
File changelogFile)
|
protected hudson.scm.PollingResult |
compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState scmrs)
|
hudson.scm.ChangeLogParser |
createChangeLogParser()
|
String |
getDepot()
Getter for property 'depot'. |
hudson.scm.SCMDescriptor<?> |
getDescriptor()
|
String |
getDirectoryOffset()
Getter for property 'directoryOffset'. |
String |
getFilterForPollSCM()
Getter for property 'filterForPollSCM'. |
String |
getReftree()
Getter for property 'reftree'. |
String |
getServerName()
Getter for property 'serverName'. |
String |
getSnapshotNameFormat()
Getter for property 'snapshotNameFormat'. |
String |
getStream()
Getter for property 'stream'. |
String |
getSubPath()
Getter for property 'subPath'. |
boolean |
isCleanreftree()
Getter for property 'useUpdate'. |
boolean |
isIgnoreStreamParent()
Getter for property 'ignoreStreamParent'. |
boolean |
isSynctime()
Getter for property 'synctime'. |
boolean |
isUseReftree()
Getter for property 'useRefTree'. |
boolean |
isUseSnapshot()
Getter for property 'useSnapshot'. |
boolean |
requiresWorkspaceForPolling()
|
| Methods inherited from class hudson.scm.SCM |
|---|
_calcRevisionsFromBuild, _for, all, createEmptyChangeLog, getApi, getBrowser, getEffectiveBrowser, getModuleRoot, getModuleRoot, getModuleRoots, getModuleRoots, getType, nullify, poll, pollChanges, processWorkspaceBeforeDeletion, supportsPolling |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SimpleDateFormat ACCUREV_DATETIME_FORMATTER
@Extension public static final AccurevSCM.AccurevSCMDescriptor DESCRIPTOR
| Constructor Detail |
|---|
@DataBoundConstructor
public AccurevSCM(String serverName,
String depot,
String stream,
org.kohsuke.stapler.StaplerRequest req,
boolean useReftree,
String reftree,
String subPath,
String filterForPollSCM,
boolean synctime,
boolean cleanreftree,
boolean useSnapshot,
String snapshotNameFormat,
String directoryOffset,
boolean ignoreStreamParent)
| Method Detail |
|---|
public String getDepot()
public String getServerName()
public String getStream()
public String getReftree()
public String getSubPath()
public String getFilterForPollSCM()
public String getSnapshotNameFormat()
public boolean isIgnoreStreamParent()
public boolean isSynctime()
public boolean isCleanreftree()
public boolean isUseSnapshot()
public boolean isUseReftree()
public String getDirectoryOffset()
public hudson.scm.SCMDescriptor<?> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.scm.SCM>getDescriptor in class hudson.scm.SCM
public void buildEnvVars(hudson.model.AbstractBuild<?,?> build,
Map<String,String> env)
buildEnvVars in class hudson.scm.SCM
public boolean checkout(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath jenkinsWorkspace,
hudson.model.BuildListener listener,
File changelogFile)
throws IOException,
InterruptedException
checkout in class hudson.scm.SCMIOException
InterruptedExceptionpublic hudson.scm.ChangeLogParser createChangeLogParser()
createChangeLogParser in class hudson.scm.SCMpublic boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling in class hudson.scm.SCM
public hudson.scm.SCMRevisionState calcRevisionsFromBuild(hudson.model.AbstractBuild<?,?> ab,
hudson.Launcher lnchr,
hudson.model.TaskListener tl)
throws IOException,
InterruptedException
calcRevisionsFromBuild in class hudson.scm.SCMIOException
InterruptedException
protected hudson.scm.PollingResult compareRemoteRevisionWith(hudson.model.AbstractProject<?,?> project,
hudson.Launcher launcher,
hudson.FilePath workspace,
hudson.model.TaskListener listener,
hudson.scm.SCMRevisionState scmrs)
throws IOException,
InterruptedException
compareRemoteRevisionWith in class hudson.scm.SCMIOException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||