hudson.plugins.utplsql
Class UtplsqlRecorder

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by hudson.plugins.utplsql.UtplsqlRecorder
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, Serializable

public class UtplsqlRecorder
extends hudson.tasks.Recorder
implements Serializable

A recorder for Testresults from utPLSQL. Currently, the Testresult-classes from JUnit are use, but it is planned to write some more suited to utPLSQL

See Also:
Serialized Form

Nested Class Summary
static class UtplsqlRecorder.DescriptorImpl
           
 
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
UtplsqlRecorder(String testResults)
           
 
Method Summary
 UtplsqlRecorder.DescriptorImpl getDescriptor()
           
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
          This is necessary, to display the test results on the Project page already, not only for a single build.
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 String getTestResults()
          necessary for displaying the current configuration in the Job configuration
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
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
getProjectActions, prebuild
 

Constructor Detail

UtplsqlRecorder

@DataBoundConstructor
public UtplsqlRecorder(String testResults)
Method Detail

getTestResults

public String getTestResults()
necessary for displaying the current configuration in the Job configuration

Returns:
the testResults configuration

getDescriptor

public UtplsqlRecorder.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Recorder

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep

getProjectAction

public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
This is necessary, to display the test results on the Project page already, not only for a single build.

Specified by:
getProjectAction in interface hudson.tasks.BuildStep
Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException


Copyright © 2004-2014. All Rights Reserved.