|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.seleniumhq.SeleniumhqBuilder
public class SeleniumhqBuilder
Sample Builder.
When the user configures the project and enables this builder,
Descriptor.newInstance(StaplerRequest) is invoked and a new SeleniumhqBuilder
is created. The created instance is persisted to the project configuration XML by using XStream,
so this allows you to use instance fields (like #name) to remember the configuration.
When a build is performed, the BuildStepCompatibilityLayer.perform(Build, Launcher, BuildListener) method will be
invoked.
| Nested Class Summary | |
|---|---|
static class |
SeleniumhqBuilder.DescriptorImpl
Descriptor for SeleniumhqBuilder. |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
|---|
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
static SeleniumhqBuilder.DescriptorImpl |
DESCRIPTOR
|
| Fields inherited from interface hudson.tasks.BuildStep |
|---|
BUILDERS, PUBLISHERS |
| Constructor Summary | |
|---|---|
SeleniumhqBuilder(java.lang.String browser,
java.lang.String startURL,
java.lang.String suiteFile,
java.lang.String resultFile,
java.lang.String other)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBrowser()
We'll use this from the config.jelly. |
java.lang.String |
getOther()
We'll use this from the config.jelly. |
java.lang.String |
getResultFile()
We'll use this from the config.jelly. |
java.lang.String |
getStartURL()
We'll use this from the config.jelly. |
java.lang.String |
getSuiteFile()
We'll use this from the config.jelly. |
boolean |
isFileSuiteFile(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher)
Check if the suiteFile is a file |
boolean |
isURLSuiteFile()
Check if the suiteFile is a URL |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
| Methods inherited from class hudson.tasks.Builder |
|---|
all, getDescriptor, getRequiredMonitorService, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
|---|
getProjectAction, getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
|---|
getProjectAction, getProjectActions, prebuild |
| Field Detail |
|---|
@Extension public static final SeleniumhqBuilder.DescriptorImpl DESCRIPTOR
| Constructor Detail |
|---|
@DataBoundConstructor
public SeleniumhqBuilder(java.lang.String browser,
java.lang.String startURL,
java.lang.String suiteFile,
java.lang.String resultFile,
java.lang.String other)
| Method Detail |
|---|
public java.lang.String getBrowser()
public java.lang.String getStartURL()
public java.lang.String getSuiteFile()
public java.lang.String getOther()
public java.lang.String getResultFile()
public boolean isURLSuiteFile()
public boolean isFileSuiteFile(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher)
throws java.io.IOException,
java.lang.InterruptedException
java.lang.InterruptedException
java.io.IOException
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerjava.io.IOException
java.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||