public class WsdlMockOperation extends AbstractWsdlModelItem<MockOperationConfig> implements MockOperation, PropertyChangeListener
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_RESPONSE_PROPERTY |
static String |
DISPATCH_PATH_PROPERTY |
static String |
DISPATCH_STYLE_PROPERTY |
static String |
OPERATION_PROPERTY |
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY| Constructor and Description |
|---|
WsdlMockOperation(WsdlMockService mockService,
MockOperationConfig config) |
WsdlMockOperation(WsdlMockService mockService,
MockOperationConfig config,
WsdlOperation operation) |
addExternalDependencies, afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getId, getName, getParent, getSettings, getWsdlModelItemByName, resolve, setConfig, setDescription, setIcon, setName, setSettingsaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getId, getName, getParent, getSettingsaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic static final String DISPATCH_STYLE_PROPERTY
public static final String DEFAULT_RESPONSE_PROPERTY
public static final String DISPATCH_PATH_PROPERTY
public static final String OPERATION_PROPERTY
public WsdlMockOperation(WsdlMockService mockService, MockOperationConfig config)
public WsdlMockOperation(WsdlMockService mockService, MockOperationConfig config, WsdlOperation operation)
public ImageIcon getIcon()
getIcon in interface ModelItemgetIcon in class AbstractWsdlModelItem<MockOperationConfig>public WsdlMockService getMockService()
getMockService in interface MockOperationpublic WsdlMockResponse getMockResponseAt(int index)
getMockResponseAt in interface MockOperationpublic WsdlOperation getOperation()
getOperation in interface MockOperationpublic WsdlMockResponse getMockResponseByName(String name)
getMockResponseByName in interface MockOperationpublic int getMockResponseCount()
getMockResponseCount in interface MockOperationpublic WsdlMockResponse addNewMockResponse(MockResponseConfig responseConfig)
public WsdlMockResponse addNewMockResponse(String name, boolean createResponse)
public void removeMockResponse(WsdlMockResponse mockResponse)
public WsdlMockResult dispatchRequest(WsdlMockRequest request) throws DispatchException
DispatchExceptionpublic void release()
release in class AbstractWsdlModelItem<MockOperationConfig>public String getDispatchStyle()
public MockOperationDispatcher setDispatchStyle(String dispatchStyle)
public String getDispatchPath()
public void setDispatchPath(String dispatchPath)
public String getWsdlOperationName()
public String getDefaultResponse()
public void setDefaultResponse(String defaultResponse)
public List<MockResponse> getMockResponses()
getMockResponses in interface MockOperationpublic void propertyChange(PropertyChangeEvent arg0)
propertyChange in interface PropertyChangeListenerpublic WsdlMockResult getLastMockResult()
getLastMockResult in interface MockOperationpublic void setOperation(WsdlOperation operation)
public MockOperationDispatcher getMockOperationDispatcher()
public boolean isOneWay()
public boolean isNotification()
public boolean isSolicitResponse()
public boolean isUnidirectional()
public boolean isBidirectional()
public List<? extends ModelItem> getChildren()
getChildren in interface ModelItemgetChildren in class AbstractModelItempublic void exportMockOperation(File file)
Copyright © 2013. All Rights Reserved.