Class ExportWorkspaceHelper
java.lang.Object
com.illumon.iris.console.events.export.ExportWorkspaceHelper
- All Implemented Interfaces:
WorkspaceExporter
A Helper class for sharing (exporting) part of a workspace.
-
Constructor Summary
ConstructorsConstructorDescriptionExportWorkspaceHelper(com.fishlib.io.logger.Logger log, com.illumon.infonode.docking.RootWindow rootWindow, com.illumon.infonode.docking.AbstractTabWindow tabGroup, String userName) Creates an ExportWorkspaceHelper. -
Method Summary
Modifier and TypeMethodDescriptionvoidExports a workspace.org.jdom2.ElementexportWorkspace(Workspace workspace) Exports a Workspace.
-
Constructor Details
-
ExportWorkspaceHelper
public ExportWorkspaceHelper(com.fishlib.io.logger.Logger log, com.illumon.infonode.docking.RootWindow rootWindow, com.illumon.infonode.docking.AbstractTabWindow tabGroup, String userName) Creates an ExportWorkspaceHelper.- Parameters:
log- the loggerrootWindow- the Root WindowtabGroup- the selected Tab GroupuserName- the active user name
-
-
Method Details
-
exportWorkspace
public void exportWorkspace()Exports a workspace. -
exportWorkspace
Description copied from interface:WorkspaceExporterExports a Workspace. This is similarWorkspace.getWorkspaceInfo()but may only save a subset of the data. Returns null if a Workspace cannot be exported.- Specified by:
exportWorkspacein interfaceWorkspaceExporter- Returns:
- An
Elementcontaining the data to persist, null if the workspace cannot be exported
-