public class WsdlMockService extends AbstractMockService<WsdlMockOperation,MockServiceConfig>
Modifier and Type | Field and Description |
---|---|
static String |
ICON_NAME |
static String |
INCOMING_WSS |
static String |
OUTGOING_WSS |
static String |
STRING_ID |
mockOperations, START_SCRIPT_PROPERTY, STOP_SCRIPT_PROPERTY
PATH_PROPERTY, PORT_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
WsdlMockService(Project project,
MockServiceConfig config) |
addExternalDependencies, addMockOperation, addMockRunListener, addMockServiceListener, fireMockOperationAdded, fireMockOperationRemoved, fireMockResponseAdded, fireMockResponseRemoved, fireOnMockResult, getAfterRequestScript, getBindToHostOnly, getDocroot, getLocalEndpoint, getMockOperationAt, getMockOperationByName, getMockOperationCount, getMockOperationList, getMockOperations, getMockRunListeners, getMockRunner, getMockServiceListeners, getOnRequestScript, getPath, getPort, getProject, getProtocol, getStartScript, getStopScript, isDispatchResponseMessages, removeMockOperation, removeMockRunListener, removeMockServiceListener, resolve, runAfterRequestScript, runOnRequestScript, runStartScript, runStopScript, setAfterRequestScript, setBindToHostOnly, setDispatchResponseMessages, setDocroot, setHost, setMockRunner, setOnRequestScript, setStartScript, setStopScript, start, start, startIfConfigured
addPropertiesFromFile, addProperty, addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyHolderSupport, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, moveProperty, removeProperty, removeTestPropertyListener, renameProperty, setPropertiesConfig, setPropertyValue
afterLoad, beforeSave, dependsOn, getConfig, getDescription, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, setConfig, setDescription, setIcon, setName, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, notifyPropertyChanged, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getIcon, getId, getName, getParent, getSettings
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getProperty, getPropertyAt, getPropertyCount, getPropertyList, getPropertyNames, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
getName, setIcon
public static final String INCOMING_WSS
public static final String OUTGOING_WSS
public static final String ICON_NAME
public static final String STRING_ID
public WsdlMockService(Project project, MockServiceConfig config)
public String getStringID()
public WsdlMockOperation getMockOperation(Operation operation)
public MockOperation addNewMockOperation(Operation operation)
public void setPort(int port)
setPort
in interface MockServer
setPort
in class AbstractMockService<WsdlMockOperation,MockServiceConfig>
public WsdlInterface[] getMockedInterfaces()
public void release()
release
in interface Releasable
release
in class AbstractMockService<WsdlMockOperation,MockServiceConfig>
public String getIconName()
getIconName
in class AbstractMockService<WsdlMockOperation,MockServiceConfig>
public MockDispatcher createDispatcher(WsdlMockRunContext mockContext)
public void setPath(String path)
setPath
in interface MockServer
setPath
in class AbstractMockService<WsdlMockOperation,MockServiceConfig>
public WsdlMockOperation getFaultMockOperation()
public void setFaultMockOperation(WsdlMockOperation mockOperation)
public String getHost()
getHost
in interface MockServer
getHost
in class AbstractMockService<WsdlMockOperation,MockServiceConfig>
public boolean isRequireSoapVersion()
public void setRequireSoapVersion(boolean requireSoapVersion)
public boolean isRequireSoapAction()
public void setRequireSoapAction(boolean requireSoapAction)
public boolean hasMockOperation(Operation operation)
public List<? extends ModelItem> getChildren()
getChildren
in interface ModelItem
getChildren
in class AbstractModelItem
public String getIncomingWss()
public void setIncomingWss(String incomingWss)
public String getOutgoingWss()
public void setOutgoingWss(String outgoingWss)
public List<WsdlOperation> getMockedOperations()
public void replace(WsdlMockOperation mockOperation, MockOperationConfig reloadedMockOperation)
public void export(File file)
public void importMockOperation(File file)
public String getMockServiceEndpoint()
public void setMockServiceEndpoint(String mockServiceEndpoint)
public String getLocalMockServiceEndpoint()
public boolean canIAddAMockOperation(WsdlMockOperation mockOperation)
canIAddAMockOperation
in class AbstractMockService<WsdlMockOperation,MockServiceConfig>
public String getHelpUrl()
Copyright © 2019. All Rights Reserved.