public interface RESTMockActionConfig extends BaseMockOperationConfig
Modifier and Type | Interface and Description |
---|---|
static class |
RESTMockActionConfig.Factory
A factory class with static methods for creating instances
of this type.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.xmlbeans.SchemaType |
type |
Modifier and Type | Method and Description |
---|---|
RESTMockResponseConfig |
addNewResponse()
Appends and returns a new empty value (as xml) as the last "response" element
|
String |
getMethod()
Gets the "method" attribute
|
String |
getResourcePath()
Gets the "resourcePath" attribute
|
RESTMockResponseConfig[] |
getResponseArray()
Deprecated.
|
RESTMockResponseConfig |
getResponseArray(int i)
Gets ith "response" element
|
List<RESTMockResponseConfig> |
getResponseList()
Gets a List of "response" elements
|
RESTMockResponseConfig |
insertNewResponse(int i)
Inserts and returns a new empty value (as xml) as the ith "response" element
|
boolean |
isSetMethod()
True if has "method" attribute
|
boolean |
isSetResourcePath()
True if has "resourcePath" attribute
|
void |
removeResponse(int i)
Removes the ith "response" element
|
void |
setMethod(String method)
Sets the "method" attribute
|
void |
setResourcePath(String resourcePath)
Sets the "resourcePath" attribute
|
void |
setResponseArray(int i,
RESTMockResponseConfig response)
Sets ith "response" element
|
void |
setResponseArray(RESTMockResponseConfig[] responseArray)
Sets array of all "response" element
|
int |
sizeOfResponseArray()
Returns number of "response" element
|
void |
unsetMethod()
Unsets the "method" attribute
|
void |
unsetResourcePath()
Unsets the "resourcePath" attribute
|
org.apache.xmlbeans.XmlString |
xgetMethod()
Gets (as xml) the "method" attribute
|
org.apache.xmlbeans.XmlString |
xgetResourcePath()
Gets (as xml) the "resourcePath" attribute
|
void |
xsetMethod(org.apache.xmlbeans.XmlString method)
Sets (as xml) the "method" attribute
|
void |
xsetResourcePath(org.apache.xmlbeans.XmlString resourcePath)
Sets (as xml) the "resourcePath" attribute
|
getDefaultResponse, getDispatchPath, getDispatchStyle, isSetDefaultResponse, isSetDispatchPath, isSetDispatchStyle, setDefaultResponse, setDispatchPath, setDispatchStyle, unsetDefaultResponse, unsetDispatchPath, unsetDispatchStyle, xgetDefaultResponse, xgetDispatchPath, xgetDispatchStyle, xsetDefaultResponse, xsetDispatchPath, xsetDispatchStyle
addNewSettings, getDescription, getId, getName, getSettings, getTimestamp, isSetDescription, isSetId, isSetName, isSetSettings, isSetTimestamp, setDescription, setId, setName, setSettings, setTimestamp, unsetDescription, unsetId, unsetName, unsetSettings, unsetTimestamp, xgetDescription, xgetId, xgetName, xgetTimestamp, xsetDescription, xsetId, xsetName, xsetTimestamp
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
List<RESTMockResponseConfig> getResponseList()
RESTMockResponseConfig[] getResponseArray()
RESTMockResponseConfig getResponseArray(int i)
int sizeOfResponseArray()
void setResponseArray(RESTMockResponseConfig[] responseArray)
void setResponseArray(int i, RESTMockResponseConfig response)
RESTMockResponseConfig insertNewResponse(int i)
RESTMockResponseConfig addNewResponse()
void removeResponse(int i)
String getResourcePath()
org.apache.xmlbeans.XmlString xgetResourcePath()
boolean isSetResourcePath()
void setResourcePath(String resourcePath)
void xsetResourcePath(org.apache.xmlbeans.XmlString resourcePath)
void unsetResourcePath()
String getMethod()
org.apache.xmlbeans.XmlString xgetMethod()
boolean isSetMethod()
void setMethod(String method)
void xsetMethod(org.apache.xmlbeans.XmlString method)
void unsetMethod()
Copyright © 2019. All Rights Reserved.