Package ghidra.framework.data
Class DefaultCheckinHandler
java.lang.Object
ghidra.framework.data.DefaultCheckinHandler
- All Implemented Interfaces:
CheckinHandler
DefaultCheckinHandler
provides a simple
check-in handler for use with
DomainFile.checkin(CheckinHandler, ghidra.util.task.TaskMonitor)
-
Constructor Summary
ConstructorDescriptionDefaultCheckinHandler
(String comment, boolean keepCheckedOut, boolean createKeepFile) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the system should create a keep file copy of the user's check-in file.Returns the check-in comment.boolean
Returns true if check-out state should be retained.
-
Constructor Details
-
DefaultCheckinHandler
-
-
Method Details
-
getComment
Description copied from interface:CheckinHandler
Returns the check-in comment.- Specified by:
getComment
in interfaceCheckinHandler
- Returns:
- the check-in comment
- Throws:
CancelledException
- thrown if user cancels the check-in
-
keepCheckedOut
Description copied from interface:CheckinHandler
Returns true if check-out state should be retained.- Specified by:
keepCheckedOut
in interfaceCheckinHandler
- Returns:
- true if check-out state should be retained
- Throws:
CancelledException
- thrown if user cancels the check-in
-
createKeepFile
Description copied from interface:CheckinHandler
Returns true if the system should create a keep file copy of the user's check-in file.- Specified by:
createKeepFile
in interfaceCheckinHandler
- Throws:
CancelledException
- thrown if user cancels the check-in
-