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 TypeMethodDescriptionvoid
close()
Initiate disposal of this project data object.protected void
dispose()
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.void
Methods 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:ProjectData
Initiate 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:
close
in interfaceProjectData
- Overrides:
close
in classDefaultProjectData
-
dispose
protected void dispose()Description copied from class:DefaultProjectData
Immediately dispose this project data store instance. If this project has an associatedRepositoryAdapter
it will be disconnected as well. This method should generally not be used directly when there may be openDomainObject
instances which may rely on an associated server connection. TheObject.clone()
method should be used when openDomainObject
instances may exist and should be allowed to persist until they are closed.- Overrides:
dispose
in classDefaultProjectData
-
getLocalProjectURL
Description copied from interface:ProjectData
Generate a local URL which corresponds to this project data if applicable. Remote transient project data will return null;- Specified by:
getLocalProjectURL
in interfaceProjectData
- Overrides:
getLocalProjectURL
in classDefaultProjectData
- Returns:
- local URL which corresponds to this project data or null if not applicable.
-