net.praqma.jenkins.rqm.model
Class TestScript

java.lang.Object
  extended by net.praqma.jenkins.rqm.model.RqmObject<TestScript>
      extended by net.praqma.jenkins.rqm.model.TestScript
All Implemented Interfaces:
Serializable

public class TestScript
extends RqmObject<TestScript>

Author:
Praqma
See Also:
Serialized Form

Field Summary
 HashMap<String,String> customAttributes
           
 
Fields inherited from class net.praqma.jenkins.rqm.model.RqmObject
rqmObjectResourceUrl
 
Constructor Summary
TestScript()
           
TestScript(String rqmObjectResourceUrl)
           
 
Method Summary
 HashMap<String,String> attributes()
           
 List<TestScript> createOrUpdate(RqmParameterList parameters)
          Override this method if you wish to push data from RQM (PUT && POST)
 String getDescriptor()
           
 String getResourceName()
           
 String getScriptTitle()
           
 TestScript initializeSingleResource(String xml)
          Expects an internal resource id.
 boolean isManual()
           
 List<TestScript> read(RqmParameterList parameters)
          Override this method if you wish to read data from RQM (Primarily GET)
 void setManual(boolean manual)
           
 void setScriptTitle(String scriptTitle)
           
 
Methods inherited from class net.praqma.jenkins.rqm.model.RqmObject
createObject, equals, getDescriptor, getDescriptor, getDocumentReader, getDocumentReader, getInternalId, getRqmObjectResourceUrl, hashCode, intializeSingleResource, readMultiple, setRqmObjectResourceUrl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customAttributes

public HashMap<String,String> customAttributes
Constructor Detail

TestScript

public TestScript()

TestScript

public TestScript(String rqmObjectResourceUrl)
           throws RQMObjectParseException
Throws:
RQMObjectParseException
Method Detail

isManual

public boolean isManual()

setManual

public void setManual(boolean manual)

getScriptTitle

public String getScriptTitle()
Returns:
the scriptTitle

setScriptTitle

public void setScriptTitle(String scriptTitle)
Parameters:
scriptTitle - the scriptTitle to set

read

public List<TestScript> read(RqmParameterList parameters)
                      throws IOException
Description copied from class: RqmObject
Override this method if you wish to read data from RQM (Primarily GET)

Overrides:
read in class RqmObject<TestScript>
Returns:
a 'constructed' rqm object. Read populates the object given an array of parameters
Throws:
IOException

createOrUpdate

public List<TestScript> createOrUpdate(RqmParameterList parameters)
Description copied from class: RqmObject
Override this method if you wish to push data from RQM (PUT && POST)

Overrides:
createOrUpdate in class RqmObject<TestScript>
Returns:
Create or updates the object given an array of parameters. Use the initializeSingleResource() method to parse the object given the returned XML

attributes

public HashMap<String,String> attributes()
Overrides:
attributes in class RqmObject<TestScript>

initializeSingleResource

public TestScript initializeSingleResource(String xml)
                                    throws RQMObjectParseException
Description copied from class: RqmObject
Expects an internal resource id.

Specified by:
initializeSingleResource in class RqmObject<TestScript>
Returns:
Throws:
RQMObjectParseException

getDescriptor

public String getDescriptor()

getResourceName

public String getResourceName()
Specified by:
getResourceName in class RqmObject<TestScript>


Copyright © 2004-2014. All Rights Reserved.