Package edu.umd.cs.findbugs
Class CommandLineUiCallback
java.lang.Object
edu.umd.cs.findbugs.CommandLineUiCallback
- All Implemented Interfaces:
IGuiCallback
Implementation of the UI callback for command line sessions.
- Author:
- andy.st
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.umd.cs.findbugs.IGuiCallback
IGuiCallback.FormItem -
Field Summary
Fields inherited from interface edu.umd.cs.findbugs.IGuiCallback
CANCEL_OPTION, NO_OPTION, OK_CANCEL_OPTION, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayNonmodelMessage(String title, String message) Use this executor to queue bug collection updates without interfering with the GUI.getProgressMonitorInputStream(InputStream in, int length, String msg) voidbooleanIf true, do not open windows or browsersvoidregisterCloud(Project project, BugCollection collection, Cloud cloud) Called as soon as the cloud object is created, before it is initialized.voidsetErrorMessage(String errorMsg) intshowConfirmDialog(String message, String title, String ok, String cancel) booleanshowDocument(URL u) showForm(String message, String title, List<IGuiCallback.FormItem> labels) voidshowMessageDialog(String message) voidshowMessageDialogAndWait(String message) showQuestionDialog(String message, String title, String defaultValue) voidunregisterCloud(Project project, BugCollection collection, Cloud cloud)
-
Constructor Details
-
CommandLineUiCallback
public CommandLineUiCallback()
-
-
Method Details
-
showMessageDialogAndWait
- Specified by:
showMessageDialogAndWaitin interfaceIGuiCallback- Throws:
InterruptedException
-
showMessageDialog
- Specified by:
showMessageDialogin interfaceIGuiCallback
-
showConfirmDialog
- Specified by:
showConfirmDialogin interfaceIGuiCallback
-
getProgressMonitorInputStream
- Specified by:
getProgressMonitorInputStreamin interfaceIGuiCallback
-
setErrorMessage
- Specified by:
setErrorMessagein interfaceIGuiCallback
-
displayNonmodelMessage
- Specified by:
displayNonmodelMessagein interfaceIGuiCallback
-
showQuestionDialog
- Specified by:
showQuestionDialogin interfaceIGuiCallback
-
showForm
- Specified by:
showFormin interfaceIGuiCallback
-
showDocument
- Specified by:
showDocumentin interfaceIGuiCallback
-
registerCloud
Description copied from interface:IGuiCallbackCalled as soon as the cloud object is created, before it is initialized. Useful for adding status msg listener.- Specified by:
registerCloudin interfaceIGuiCallback
-
getBugUpdateExecutor
Description copied from interface:IGuiCallbackUse this executor to queue bug collection updates without interfering with the GUI. Runs on the AWT event thread.- Specified by:
getBugUpdateExecutorin interfaceIGuiCallback
-
isHeadless
public boolean isHeadless()Description copied from interface:IGuiCallbackIf true, do not open windows or browsers- Specified by:
isHeadlessin interfaceIGuiCallback
-
unregisterCloud
- Specified by:
unregisterCloudin interfaceIGuiCallback
-
invokeInGUIThread
- Specified by:
invokeInGUIThreadin interfaceIGuiCallback
-