public abstract class JobSource extends Object implements hudson.model.Describable<JobSource>
| Modifier and Type | Class and Description |
|---|---|
static class |
JobSource.JobSourceDescriptor |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_JOB_PREFIX |
protected static String |
DEFAULT_JOB_SUFFIX |
protected String |
jobName |
| Constructor and Description |
|---|
JobSource() |
| Modifier and Type | Method and Description |
|---|---|
static hudson.DescriptorExtensionList<JobSource,JobSource.JobSourceDescriptor> |
all() |
hudson.FilePath |
createDefaultJobFile(String jobContent,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Expands parameter and environment variable in job XML and stores expanded XML into temporal file.
|
abstract File |
createJobFile(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Creates temporal file with job XML
|
String |
getJobName() |
protected static final String DEFAULT_JOB_PREFIX
protected static final String DEFAULT_JOB_SUFFIX
protected String jobName
public String getJobName()
public abstract File createJobFile(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws InterruptedException, IOException
build - listener - InterruptedExceptionIOExceptionpublic hudson.FilePath createDefaultJobFile(String jobContent, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws InterruptedException, IOException
jobContent - Job XMLbuild - listener - FilePath to temporary file final job XMLInterruptedExceptionIOExceptionpublic static hudson.DescriptorExtensionList<JobSource,JobSource.JobSourceDescriptor> all()
Copyright © 2004-2014. All Rights Reserved.