public class QueryMatchMockOperationDispatcher extends AbstractMockOperationDispatcher implements PropertyChangeListener
Modifier and Type | Class and Description |
---|---|
static class |
QueryMatchMockOperationDispatcher.Factory |
class |
QueryMatchMockOperationDispatcher.Query |
Constructor and Description |
---|
QueryMatchMockOperationDispatcher(MockOperation mockOperation) |
Modifier and Type | Method and Description |
---|---|
QueryMatchMockOperationDispatcher.Query |
addQuery(String name) |
protected void |
addQueryToolbarActions(JXToolBar toolBar) |
protected Component |
buildQueryDetailComponent() |
protected Component |
buildQueryListComponent() |
protected JXToolBar |
buildQueryToolbar() |
void |
deleteQuery(QueryMatchMockOperationDispatcher.Query query) |
JComponent |
getEditorComponent() |
QueryMatchMockOperationDispatcher.Query[] |
getQueries() |
QueryMatchMockOperationDispatcher.Query |
getQueryAt(int index) |
QueryMatchMockOperationDispatcher.Query |
getQueryByName(String name) |
int |
getQueryCount() |
protected QueryMatchMockOperationDispatcher.Query |
getSelectedQuery() |
boolean |
hasDefaultResponse() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
WsdlMockResponse |
selectMockResponse(MockRequest request,
MockResult result) |
protected void |
setEnabled() |
addPropertyChangeListener, addPropertyChangeListener, getMockOperation, getPropertyChangeSupport, releaseEditorComponent, removePropertyChangeListener, removePropertyChangeListener
public QueryMatchMockOperationDispatcher(MockOperation mockOperation)
public void release()
release
in interface Releasable
release
in class AbstractMockOperationDispatcher
public JComponent getEditorComponent()
getEditorComponent
in interface MockOperationDispatcher
getEditorComponent
in class AbstractMockOperationDispatcher
public boolean hasDefaultResponse()
hasDefaultResponse
in interface MockOperationDispatcher
protected Component buildQueryListComponent()
protected void setEnabled()
protected Component buildQueryDetailComponent()
protected JXToolBar buildQueryToolbar()
protected void addQueryToolbarActions(JXToolBar toolBar)
public WsdlMockResponse selectMockResponse(MockRequest request, MockResult result) throws DispatchException
selectMockResponse
in interface MockOperationDispatcher
DispatchException
public QueryMatchMockOperationDispatcher.Query addQuery(String name)
public void deleteQuery(QueryMatchMockOperationDispatcher.Query query)
public QueryMatchMockOperationDispatcher.Query[] getQueries()
public int getQueryCount()
public QueryMatchMockOperationDispatcher.Query getQueryByName(String name)
public QueryMatchMockOperationDispatcher.Query getQueryAt(int index)
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
protected QueryMatchMockOperationDispatcher.Query getSelectedQuery()
Copyright © 2019. All Rights Reserved.