|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.plugins.klaros.KlarosTestResultPublisher
public class KlarosTestResultPublisher
Klaros test result publisher class. When a publish is performed, the
perform(AbstractBuild, Launcher, BuildListener) method will be
invoked.
| Nested Class Summary | |
|---|---|
static class |
KlarosTestResultPublisher.DescriptorImpl
Descriptor for KlarosImportPublisher class. |
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
|---|
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
|---|
hudson.tasks.BuildStep.PublisherList |
| Field Summary |
|---|
| Fields inherited from interface hudson.tasks.BuildStep |
|---|
BUILDERS, PUBLISHERS |
| Constructor Summary | |
|---|---|
KlarosTestResultPublisher(java.lang.String config,
java.lang.String env,
java.lang.String sut,
java.lang.String type,
java.lang.String pathTestResults,
java.lang.String url,
java.lang.String username,
java.lang.String password)
Instantiates a new klaros test result publisher. |
|
| Method Summary | |
|---|---|
static KlarosTestResultPublisher.DescriptorImpl |
descriptor()
Descriptor. |
java.lang.String |
getConfig()
Gets the config. |
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor()
|
java.lang.String |
getEnv()
Gets the env. |
java.lang.String |
getPassword()
Gets the password. |
java.lang.String |
getPathTestResults()
Gets the path test results. |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
|
java.lang.String |
getSut()
Gets the sut. |
java.lang.String |
getUrl()
Gets the url. |
java.lang.String |
getUrl(java.lang.String sourceURL)
Gets the URL of the given name, or returns null. |
java.util.List<java.lang.String> |
getUrls()
Gets the urls. |
java.lang.String |
getUsername()
Gets the username. |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Runs the step over the given build and reports the progress to the listener. |
void |
setConfig(java.lang.String value)
Sets the config. |
void |
setEnv(java.lang.String value)
Sets the env. |
void |
setPassword(java.lang.String value)
Sets the password. |
void |
setPathTestResults(java.lang.String value)
Sets the path test results. |
void |
setSut(java.lang.String value)
Sets the sut. |
void |
setUrl(java.lang.String value)
Sets the url. |
void |
setUsername(java.lang.String value)
Sets the username. |
| Methods inherited from class hudson.tasks.Publisher |
|---|
all, getProjectAction, needsToRunAfterFinalized, 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, prebuild |
| Constructor Detail |
|---|
@DataBoundConstructor
public KlarosTestResultPublisher(java.lang.String config,
java.lang.String env,
java.lang.String sut,
java.lang.String type,
java.lang.String pathTestResults,
java.lang.String url,
java.lang.String username,
java.lang.String password)
config - the Klaros project configuration to useenv - the Klaros test environment to usesut - the Klaros system under test to usetype - the type of test result to importpathTestResults - the path to the test resultsurl - the Klaros application urlusername - the optional Klaros login user namepassword - the optional Klaros login password| Method Detail |
|---|
public static KlarosTestResultPublisher.DescriptorImpl descriptor()
public java.lang.String getConfig()
public void setConfig(java.lang.String value)
value - the new configpublic java.lang.String getEnv()
public void setEnv(java.lang.String value)
value - the new envpublic java.lang.String getUrl()
public void setUrl(java.lang.String value)
value - the new urlpublic java.lang.String getUsername()
public void setUsername(java.lang.String value)
value - the new usernamepublic java.lang.String getPassword()
public void setPassword(java.lang.String value)
value - the new passwordpublic java.lang.String getSut()
public void setSut(java.lang.String value)
value - the new sutpublic java.lang.String getPathTestResults()
public void setPathTestResults(java.lang.String value)
value - the new path test resultspublic java.util.List<java.lang.String> getUrls()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - the current buildlauncher - the launcherlistener - the listener
public java.lang.String getUrl(java.lang.String sourceURL)
sourceURL - the URL of the klaros server import servlet
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||