public class XPathMockOperationDispatcher extends AbstractMockOperationDispatcher
Modifier and Type | Class and Description |
---|---|
class |
XPathMockOperationDispatcher.DispatchXPathGroovyEditorModel |
static class |
XPathMockOperationDispatcher.Factory |
Constructor and Description |
---|
XPathMockOperationDispatcher(MockOperation mockOperation) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToolbarActions(XPathMockOperationDispatcher.DispatchXPathGroovyEditorModel editorModel,
JXToolBar toolbar) |
protected JXToolBar |
buildXPathEditorToolbar(XPathMockOperationDispatcher.DispatchXPathGroovyEditorModel editorModel) |
JComponent |
getEditorComponent() |
GroovyEditor |
getXPathEditor() |
boolean |
hasDefaultResponse() |
void |
release() |
void |
releaseEditorComponent() |
MockResponse |
selectMockResponse(MockRequest request,
MockResult result) |
addPropertyChangeListener, addPropertyChangeListener, getMockOperation, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
public XPathMockOperationDispatcher(MockOperation mockOperation)
public MockResponse selectMockResponse(MockRequest request, MockResult result) throws DispatchException
DispatchException
public JComponent getEditorComponent()
getEditorComponent
in interface MockOperationDispatcher
getEditorComponent
in class AbstractMockOperationDispatcher
public GroovyEditor getXPathEditor()
public void release()
release
in interface Releasable
release
in class AbstractMockOperationDispatcher
public void releaseEditorComponent()
releaseEditorComponent
in interface MockOperationDispatcher
releaseEditorComponent
in class AbstractMockOperationDispatcher
public boolean hasDefaultResponse()
protected JXToolBar buildXPathEditorToolbar(XPathMockOperationDispatcher.DispatchXPathGroovyEditorModel editorModel)
protected void addToolbarActions(XPathMockOperationDispatcher.DispatchXPathGroovyEditorModel editorModel, JXToolBar toolbar)
Copyright © 2019. All Rights Reserved.