net.praqma.jenkins.rqm.model
Class TestScript
java.lang.Object
net.praqma.jenkins.rqm.model.RqmObject<TestScript>
net.praqma.jenkins.rqm.model.TestScript
- All Implemented Interfaces:
- Serializable
public class TestScript
- extends RqmObject<TestScript>
- Author:
- Praqma
- See Also:
- Serialized Form
| Methods inherited from class net.praqma.jenkins.rqm.model.RqmObject |
createObject, equals, getDescriptor, getDescriptor, getDocumentReader, getDocumentReader, getInternalId, getRqmObjectResourceUrl, hashCode, intializeSingleResource, readMultiple, setRqmObjectResourceUrl |
customAttributes
public HashMap<String,String> customAttributes
TestScript
public TestScript()
TestScript
public TestScript(String rqmObjectResourceUrl)
throws RQMObjectParseException
- Throws:
RQMObjectParseException
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.