|
|||||||||
| 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 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
Descriptor should be singleton. |
| 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. |
hudson.model.Descriptor<hudson.tasks.Builder> |
getDescriptor()
|
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.Build build,
hudson.Launcher launcher)
Check if the suiteFile is a file |
boolean |
isURLSuiteFile()
Check if the suiteFile is a URL |
boolean |
perform(hudson.model.Build build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
| Methods inherited from class hudson.tasks.Builder |
|---|
all, getProjectAction, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
|---|
getProjectAction, 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, perform, prebuild |
| Field Detail |
|---|
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.Build build,
hudson.Launcher launcher)
throws java.io.IOException,
java.lang.InterruptedException
java.lang.InterruptedException
java.io.IOException
public boolean perform(hudson.model.Build build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
perform in class hudson.tasks.BuildStepCompatibilityLayerjava.io.IOException
java.lang.InterruptedExceptionpublic hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.Builder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||