public class ScriptMockOperationDispatcher extends AbstractMockOperationDispatcher implements PropertyChangeListener
Modifier and Type | Class and Description |
---|---|
class |
ScriptMockOperationDispatcher.DispatchScriptGroovyEditorModel |
static class |
ScriptMockOperationDispatcher.Factory |
Constructor and Description |
---|
ScriptMockOperationDispatcher(MockOperation mockOperation) |
Modifier and Type | Method and Description |
---|---|
protected JXToolBar |
buildGroovyEditorToolbar(ScriptMockOperationDispatcher.DispatchScriptGroovyEditorModel editorModel) |
JComponent |
getEditorComponent() |
boolean |
hasDefaultResponse() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
void |
releaseEditorComponent() |
MockResponse |
selectMockResponse(MockRequest request,
MockResult result) |
addPropertyChangeListener, addPropertyChangeListener, getMockOperation, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
public ScriptMockOperationDispatcher(MockOperation mockOperation)
public MockResponse selectMockResponse(MockRequest request, MockResult result) throws DispatchException
selectMockResponse
in interface MockOperationDispatcher
DispatchException
public void release()
release
in interface Releasable
release
in class AbstractMockOperationDispatcher
public JComponent getEditorComponent()
getEditorComponent
in interface MockOperationDispatcher
getEditorComponent
in class AbstractMockOperationDispatcher
public void releaseEditorComponent()
releaseEditorComponent
in interface MockOperationDispatcher
releaseEditorComponent
in class AbstractMockOperationDispatcher
public boolean hasDefaultResponse()
hasDefaultResponse
in interface MockOperationDispatcher
protected JXToolBar buildGroovyEditorToolbar(ScriptMockOperationDispatcher.DispatchScriptGroovyEditorModel editorModel)
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2019. All Rights Reserved.