public class WsdlMockOperation extends AbstractMockOperation<MockOperationConfig,WsdlMockResponse>
Modifier and Type | Field and Description |
---|---|
static String |
ICON_NAME |
static String |
OPERATION_PROPERTY |
DISPATCH_PATH_PROPERTY, DISPATCH_STYLE_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
WsdlMockOperation(WsdlMockService mockService,
MockOperationConfig config) |
WsdlMockOperation(WsdlMockService mockService,
MockOperationConfig config,
WsdlOperation operation) |
Modifier and Type | Method and Description |
---|---|
WsdlMockResponse |
addNewMockResponse(MockResponseConfig responseConfig) |
MockResponse |
addNewMockResponse(String name) |
WsdlMockResponse |
addNewMockResponse(String name,
boolean createResponse) |
WsdlMockResult |
dispatchRequest(WsdlMockRequest request) |
void |
exportMockOperation(File file) |
List<? extends ModelItem> |
getChildren() |
ImageIcon |
getIcon() |
WsdlMockService |
getMockService() |
WsdlOperation |
getOperation() |
String |
getScriptHelpUrl() |
String |
getWsdlOperationName() |
boolean |
isBidirectional() |
boolean |
isNotification() |
boolean |
isOneWay() |
boolean |
isSolicitResponse() |
boolean |
isUnidirectional() |
void |
propertyChange(PropertyChangeEvent arg0) |
void |
release() |
void |
removeResponseFromConfig(int index) |
MockOperationDispatcher |
setDispatchStyle(String dispatchStyle) |
void |
setOperation(WsdlOperation operation) |
protected void |
setupConfig(MockOperationConfig config) |
addMockResponse, getDefaultResponse, getDispatcher, getDispatchStyle, getLastMockResult, getMockResponseAt, getMockResponseByName, getMockResponseCount, getMockResponses, getScript, removeMockResponse, setDefaultResponse, setDispatcher, setExampleScript, setScript
addExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getProject, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getId, getName, getParent, getProject, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String OPERATION_PROPERTY
public static final String ICON_NAME
public WsdlMockOperation(WsdlMockService mockService, MockOperationConfig config)
public WsdlMockOperation(WsdlMockService mockService, MockOperationConfig config, WsdlOperation operation)
protected void setupConfig(MockOperationConfig config)
setupConfig
in class AbstractMockOperation<MockOperationConfig,WsdlMockResponse>
public ImageIcon getIcon()
getIcon
in interface ModelItem
getIcon
in class AbstractWsdlModelItem<MockOperationConfig>
public WsdlMockService getMockService()
public WsdlOperation getOperation()
public String getScriptHelpUrl()
public MockResponse addNewMockResponse(String name)
public WsdlMockResponse addNewMockResponse(MockResponseConfig responseConfig)
public WsdlMockResponse addNewMockResponse(String name, boolean createResponse)
public WsdlMockResult dispatchRequest(WsdlMockRequest request) throws DispatchException
DispatchException
public MockOperationDispatcher setDispatchStyle(String dispatchStyle)
setDispatchStyle
in class AbstractMockOperation<MockOperationConfig,WsdlMockResponse>
public void release()
release
in interface Releasable
release
in class AbstractWsdlModelItem<MockOperationConfig>
public String getWsdlOperationName()
public void propertyChange(PropertyChangeEvent arg0)
public void setOperation(WsdlOperation operation)
public void removeResponseFromConfig(int index)
removeResponseFromConfig
in class AbstractMockOperation<MockOperationConfig,WsdlMockResponse>
public boolean isOneWay()
public boolean isNotification()
public boolean isSolicitResponse()
public boolean isUnidirectional()
public boolean isBidirectional()
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
getChildren
in class AbstractModelItem
public void exportMockOperation(File file)
Copyright © 2019. All Rights Reserved.