net.praqma.jenkins.rqm.model
Class TestCaseExecutionRecord

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

public class TestCaseExecutionRecord
extends RqmObject<TestCaseExecutionRecord>

Author:
Praqma
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.praqma.jenkins.rqm.model.RqmObject
rqmObjectResourceUrl
 
Constructor Summary
TestCaseExecutionRecord(TestCase testCase)
           
TestCaseExecutionRecord(TestCase testCase, String title)
           
 
Method Summary
 HashMap<String,String> attributes()
           
 List<TestCaseExecutionRecord> createOrUpdate(RqmParameterList parameters)
          Override this method if you wish to push data from RQM (PUT && POST)
 String getResourceName()
           
 TestCase getTestCase()
           
 String getTestCaseExecutionRecordTitle()
           
 TestCaseExecutionRecord initializeSingleResource(String xml)
          This method should construct
 List<TestCaseExecutionRecord> read(RqmParameterList parameters)
          Override this method if you wish to read data from RQM (Primarily GET)
 void setTestCase(TestCase testCase)
           
 void setTestCaseExecutionRecordTitle(String testCaseExecutionRecordTitle)
           
 
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
 

Constructor Detail

TestCaseExecutionRecord

public TestCaseExecutionRecord(TestCase testCase)

TestCaseExecutionRecord

public TestCaseExecutionRecord(TestCase testCase,
                               String title)
Method Detail

initializeSingleResource

public TestCaseExecutionRecord initializeSingleResource(String xml)
                                                 throws RQMObjectParseException
This method should construct

Specified by:
initializeSingleResource in class RqmObject<TestCaseExecutionRecord>
Parameters:
xml -
Returns:
Throws:
RQMObjectParseException

read

public List<TestCaseExecutionRecord> 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<TestCaseExecutionRecord>
Returns:
a 'constructed' rqm object. Read populates the object given an array of parameters
Throws:
IOException

createOrUpdate

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

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

getTestCase

public TestCase getTestCase()
Returns:
the testCase

setTestCase

public void setTestCase(TestCase testCase)
Parameters:
testCase - the testCase to set

getTestCaseExecutionRecordTitle

public String getTestCaseExecutionRecordTitle()
Returns:
the testCaseExecutionRecordTitle

setTestCaseExecutionRecordTitle

public void setTestCaseExecutionRecordTitle(String testCaseExecutionRecordTitle)
Parameters:
testCaseExecutionRecordTitle - the testCaseExecutionRecordTitle to set

attributes

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

getResourceName

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


Copyright © 2004-2014. All Rights Reserved.