public abstract class JobSource extends Object implements Describable<JobSource>
Modifier and Type | Class and Description |
---|---|
static class |
JobSource.JobSourceDescriptor |
Constructor and Description |
---|
JobSource() |
Modifier and Type | Method and Description |
---|---|
static DescriptorExtensionList<JobSource,JobSource.JobSourceDescriptor> |
all() |
protected abstract String |
getDeclaredContent(AbstractBuild<?,?> build,
BuildListener listener)
Get job xml template content as string.
|
String |
getJobContent(AbstractBuild<?,?> build,
BuildListener listener)
Get job xml to be sent to Beaker.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescriptor
@Nonnull protected abstract String getDeclaredContent(@Nonnull AbstractBuild<?,?> build, @Nonnull BuildListener listener) throws IOException, InterruptedException
IOException
InterruptedException
@Nonnull public final String getJobContent(@Nonnull AbstractBuild<?,?> build, @Nonnull BuildListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public static DescriptorExtensionList<JobSource,JobSource.JobSourceDescriptor> all()
Copyright © 2016–2019. All rights reserved.