Package ghidra.framework.data
Class DefaultCheckinHandler
- java.lang.Object
-
- ghidra.framework.data.DefaultCheckinHandler
-
- All Implemented Interfaces:
CheckinHandler
public class DefaultCheckinHandler extends java.lang.Object implements CheckinHandler
DefaultCheckinHandlerprovides a simple check-in handler for use withDomainFile.checkin(CheckinHandler, boolean, ghidra.util.task.TaskMonitor)
-
-
Constructor Summary
Constructors Constructor Description DefaultCheckinHandler(java.lang.String comment, boolean keepCheckedOut, boolean createKeepFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancreateKeepFile()Returns true if the system should create a keep file copy of the user's check-in file.java.lang.StringgetComment()Returns the check-in comment.booleankeepCheckedOut()Returns true if check-out state should be retained.
-
-
-
Method Detail
-
getComment
public java.lang.String getComment() throws CancelledExceptionDescription copied from interface:CheckinHandlerReturns the check-in comment.- Specified by:
getCommentin interfaceCheckinHandler- Returns:
- the check-in comment
- Throws:
CancelledException- thrown if user cancels the check-in
-
keepCheckedOut
public boolean keepCheckedOut() throws CancelledExceptionDescription copied from interface:CheckinHandlerReturns true if check-out state should be retained.- Specified by:
keepCheckedOutin interfaceCheckinHandler- Returns:
- true if check-out state should be retained
- Throws:
CancelledException- thrown if user cancels the check-in
-
createKeepFile
public boolean createKeepFile() throws CancelledExceptionDescription copied from interface:CheckinHandlerReturns true if the system should create a keep file copy of the user's check-in file.- Specified by:
createKeepFilein interfaceCheckinHandler- Throws:
CancelledException- thrown if user cancels the check-in
-
-