public interface MockOperation extends ModelItem, Releasable
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Modifier and Type | Method and Description |
---|---|
MockResponse |
addNewMockResponse(String name) |
MockResult |
getLastMockResult() |
MockResponse |
getMockResponseAt(int index) |
MockResponse |
getMockResponseByName(String name) |
int |
getMockResponseCount() |
List<MockResponse> |
getMockResponses() |
MockService |
getMockService() |
Operation |
getOperation() |
String |
getScript()
This is a container used by dispatcher to save script, xpath expressions etc
|
String |
getScriptHelpUrl() |
void |
removeMockResponse(MockResponse mockResponse) |
void |
setScript(String script) |
getChildren, getDescription, getIcon, getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
release
MockService getMockService()
int getMockResponseCount()
MockResponse getMockResponseAt(int index)
MockResponse getMockResponseByName(String name)
MockResponse addNewMockResponse(String name)
Operation getOperation()
MockResult getLastMockResult()
List<MockResponse> getMockResponses()
void removeMockResponse(MockResponse mockResponse)
String getScript()
void setScript(String script)
script
- this is a String that might be needed by the dispatch style used in this mock operation.String getScriptHelpUrl()
Copyright © 2019. All Rights Reserved.