Package ghidra.framework.protocol.ghidra
Class TransientProjectData
java.lang.Object
ghidra.framework.data.DefaultProjectData
ghidra.framework.protocol.ghidra.TransientProjectData
- All Implemented Interfaces:
ProjectData
-
Field Summary
Fields inherited from class ghidra.framework.data.DefaultProjectData
INDEXED_DATA_FOLDER_NAME, MANGLED_DATA_FOLDER_NAME, OWNER, PORT_NUMBER, REPOSITORY_NAME, SERVER_NAME, USER_FOLDER_NAME, VERSIONED_FOLDER_NAME -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Initiate disposal of this project data object.protected voiddispose()Immediately dispose this project data store instance.Generate a local URL which corresponds to this project data if applicable.Generate a repository URL which corresponds to this project data if applicable.voidMethods inherited from class ghidra.framework.data.DefaultProjectData
addDomainFolderChangeListener, convertProjectToShared, findCheckedOutFiles, findOpenFiles, getFile, getFileByID, getFileCount, getFolder, getLocalStorageClass, getMaxNameLength, getOwner, getPrivateFileSystem, getProjectDir, getProjectDisposalMonitor, getProjectLocator, getRepository, getRootFolder, getUser, getUserDataFilename, hasInvalidCheckouts, isClosed, isDisposed, isLocked, makeValidName, readProjectProperties, refresh, releaseDomainFiles, removeDomainFolderChangeListener, removeFromIndex, testValidName, updateFileIndex, updateRepositoryInfo
-
Method Details
-
incrementInstanceUseCount
- Throws:
IOException
-
close
public void close()Description copied from interface:ProjectDataInitiate disposal of this project data object. Any files already open will delay disposal until they are closed. NOTE: This should only be invoked by the controlling object which created/opened this instance to avoid premature disposal.- Specified by:
closein interfaceProjectData- Overrides:
closein classDefaultProjectData
-
dispose
protected void dispose()Description copied from class:DefaultProjectDataImmediately dispose this project data store instance. If this project has an associatedRepositoryAdapterit will be disconnected as well. This method should generally not be used directly when there may be openDomainObjectinstances which may rely on an associated server connection. TheObject.clone()method should be used when openDomainObjectinstances may exist and should be allowed to persist until they are closed.- Overrides:
disposein classDefaultProjectData
-
getLocalProjectURL
Description copied from interface:ProjectDataGenerate a local URL which corresponds to this project data if applicable. Remote transient project data will return null;- Specified by:
getLocalProjectURLin interfaceProjectData- Overrides:
getLocalProjectURLin classDefaultProjectData- Returns:
- local URL which corresponds to this project data or null if not applicable.
-