public interface MockService extends TestModelItem, Releasable, AnimatableItem, HasHelpUrl, MockServer, MockServiceScripts
Modifier and Type | Field and Description |
---|---|
static String |
PATH_PROPERTY |
static String |
PORT_PROPERTY |
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
addMockServiceListener(MockServiceListener listener) |
MockOperation |
addNewMockOperation(Operation operation) |
void |
fireMockOperationAdded(MockOperation mockOperation) |
void |
fireMockOperationRemoved(MockOperation mockOperation) |
void |
fireMockResponseAdded(MockResponse mockResponse) |
void |
fireMockResponseRemoved(MockResponse mockResponse) |
MockOperation |
getMockOperationAt(int index) |
MockOperation |
getMockOperationByName(String name) |
int |
getMockOperationCount() |
List<MockOperation> |
getMockOperationList() |
WsdlProject |
getProject()
Gets the project that this ModelItem object is part of.
|
String |
getStringID() |
void |
removeMockOperation(MockOperation mockOperation) |
void |
removeMockServiceListener(MockServiceListener listener) |
getChildren, getDescription, getIcon, getId, getName, getParent, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
release
getName, setIcon
getHelpUrl
addMockRunListener, createDispatcher, getBindToHostOnly, getHost, getLocalEndpoint, getMockRunListeners, getMockRunner, getPath, getPort, removeMockRunListener, setPath, setPort, start, startIfConfigured
getAfterRequestScript, getOnRequestScript, getStartScript, getStopScript, runAfterRequestScript, runOnRequestScript, runStartScript, runStopScript, setAfterRequestScript, setOnRequestScript, setStartScript, setStopScript
static final String PATH_PROPERTY
static final String PORT_PROPERTY
WsdlProject getProject()
ModelItem
Workspace
object, an UnsupportedOperationException
is thrown.getProject
in interface ModelItem
List<MockOperation> getMockOperationList()
int getMockOperationCount()
MockOperation getMockOperationAt(int index)
MockOperation getMockOperationByName(String name)
MockOperation addNewMockOperation(Operation operation)
void removeMockOperation(MockOperation mockOperation)
void addMockServiceListener(MockServiceListener listener)
void removeMockServiceListener(MockServiceListener listener)
void fireMockOperationAdded(MockOperation mockOperation)
void fireMockOperationRemoved(MockOperation mockOperation)
void fireMockResponseAdded(MockResponse mockResponse)
void fireMockResponseRemoved(MockResponse mockResponse)
String getStringID()
Copyright © 2019. All Rights Reserved.