net.praqma.jenkins.rqm
Class RqmCollector

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<RqmCollector>
      extended by net.praqma.jenkins.rqm.RqmCollector
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<RqmCollector>
Direct Known Subclasses:
RqmTestSuiteExectionRecordCollectionStrategy

public abstract class RqmCollector
extends hudson.model.AbstractDescribableImpl<RqmCollector>
implements hudson.ExtensionPoint

Author:
mads

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
RqmCollector()
           
 
Method Summary
static hudson.DescriptorExtensionList<RqmCollector,RqmCollectorDescriptor> all()
           
abstract
<T extends RqmObject>
List<T>
collect(hudson.model.BuildListener listener, hudson.model.AbstractBuild<?,?> build)
           
 boolean execute(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, hudson.Launcher launcher, List<hudson.tasks.BuildStep> preBuildSteps, List<hudson.tasks.BuildStep> postBuildSteps, List<hudson.tasks.BuildStep> iterativeTestCaseBuilders, List<? extends RqmObject> results)
           
 String getContextRoot()
           
 RqmCollectorDescriptor getDescriptor()
           
static List<RqmCollectorDescriptor> getDescriptors()
           
 String getHostName()
           
 String getPasswd()
           
 int getPort()
           
 String getUsrName()
           
 void setContextRoot(String contextRoot)
           
 void setHostName(String hostName)
           
 void setPasswd(String passwd)
           
 void setPort(int port)
           
 void setup(String hostname, String contextRoot, String usrName, String passwd, int port)
           
 void setUsrName(String usrName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RqmCollector

public RqmCollector()
Method Detail

getDescriptor

public RqmCollectorDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<RqmCollector>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<RqmCollector>

all

public static hudson.DescriptorExtensionList<RqmCollector,RqmCollectorDescriptor> all()

getDescriptors

public static List<RqmCollectorDescriptor> getDescriptors()

collect

public abstract <T extends RqmObject> List<T> collect(hudson.model.BuildListener listener,
                                                      hudson.model.AbstractBuild<?,?> build)
                                           throws Exception
Throws:
Exception

execute

public boolean execute(hudson.model.AbstractBuild<?,?> build,
                       hudson.model.BuildListener listener,
                       hudson.Launcher launcher,
                       List<hudson.tasks.BuildStep> preBuildSteps,
                       List<hudson.tasks.BuildStep> postBuildSteps,
                       List<hudson.tasks.BuildStep> iterativeTestCaseBuilders,
                       List<? extends RqmObject> results)
                throws Exception
Throws:
Exception

setup

public void setup(String hostname,
                  String contextRoot,
                  String usrName,
                  String passwd,
                  int port)

getHostName

public String getHostName()
Returns:
the hostName

setHostName

public void setHostName(String hostName)
Parameters:
hostName - the hostName to set

getContextRoot

public String getContextRoot()
Returns:
the contextRoot

setContextRoot

public void setContextRoot(String contextRoot)
Parameters:
contextRoot - the contextRoot to set

getUsrName

public String getUsrName()
Returns:
the usrName

setUsrName

public void setUsrName(String usrName)
Parameters:
usrName - the usrName to set

getPasswd

public String getPasswd()
Returns:
the passwd

setPasswd

public void setPasswd(String passwd)
Parameters:
passwd - the passwd to set

getPort

public int getPort()
Returns:
the port

setPort

public void setPort(int port)
Parameters:
port - the port to set


Copyright © 2004-2014. All Rights Reserved.