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, removePropertyChangeListenerpublic ScriptMockOperationDispatcher(MockOperation mockOperation)
public MockResponse selectMockResponse(MockRequest request, MockResult result) throws DispatchException
selectMockResponse in interface MockOperationDispatcherDispatchExceptionpublic void release()
release in interface Releasablerelease in class AbstractMockOperationDispatcherpublic JComponent getEditorComponent()
getEditorComponent in interface MockOperationDispatchergetEditorComponent in class AbstractMockOperationDispatcherpublic void releaseEditorComponent()
releaseEditorComponent in interface MockOperationDispatcherreleaseEditorComponent in class AbstractMockOperationDispatcherpublic boolean hasDefaultResponse()
hasDefaultResponse in interface MockOperationDispatcherprotected JXToolBar buildGroovyEditorToolbar(ScriptMockOperationDispatcher.DispatchScriptGroovyEditorModel editorModel)
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 2019. All Rights Reserved.