Class CommandLineUiCallback
java.lang.Object
edu.umd.cs.findbugs.CommandLineUiCallback
- All Implemented Interfaces:
IGuiCallback
Implementation of the UI callback for command line sessions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classNested classes/interfaces inherited from interface IGuiCallback
IGuiCallback.FormItem -
Field Summary
FieldsModifier and TypeFieldDescription(package private) BufferedReaderprivate final CommandLineUiCallback.CurrentThreadExecutorServiceFields inherited from interface 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 browsersprivate intparseAnswer(String answer) 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)
-
Field Details
-
bugUpdateExecutor
-
br
-
-
Constructor Details
-
CommandLineUiCallback
public CommandLineUiCallback()
-
-
Method Details
-
showMessageDialogAndWait
- Specified by:
showMessageDialogAndWaitin interfaceIGuiCallback- Throws:
InterruptedException
-
showMessageDialog
- Specified by:
showMessageDialogin interfaceIGuiCallback
-
showConfirmDialog
- Specified by:
showConfirmDialogin interfaceIGuiCallback
-
parseAnswer
-
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
-
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
-
invokeInGUIThread
- Specified by:
invokeInGUIThreadin interfaceIGuiCallback
-