Classes | |
class | DeploymentTreeControllerImpl |
class | MyProjectRunModel |
class | StartupOptions |
Public Member Functions | |
void | prepare (StartupOptions startupOptions) |
void | go () |
void | stop () |
void | exit (final int code) |
String | projectCreatorId () |
String | version () |
URL | findResource (String name) |
URL | findResource (String name, String where) |
HelpSet | getHelpSet () |
void | installExtraTools (URL url) throws Exception |
void | removeExtraTools () |
void | loadBuiltinTools (URL url) throws Exception |
AcsCommandCenterProject | createProject () |
void | loadProject (File f) |
AcsCommandCenterProject | readProject (File f) throws FileNotFoundException, MarshalException, ValidationException, IOException |
void | writeProject (AcsCommandCenterProject p, File f) throws IOException, MarshalException, ValidationException |
void | moreContainers () |
void | lessContainers () |
ContainerT | removeContainer (int index) |
void | insertContainer (ContainerT cont, int index) |
Map< String, Object >[] | giveVariableMapsForGui () |
void | handleUnresolvableVariable (String name) |
List< String > | giveProjectVariableNames () |
void | runBackground (Runnable r) |
Public Attributes | |
AcsCommandCenterProject | project |
MyProjectRunModel | model |
StartupOptions | startupOptions |
ExecuteServices | executeServices |
ExecuteManager | executeManager |
ExecuteContainer | executeContainer |
ExecuteAcs | executeAcs |
ExecuteTools | executeTools |
Firestarter | firestarter |
URL | latestBuiltinToolsUrl |
URL | currentExtraToolsUrl |
DeploymentTreeControllerImpl | deploymentTreeControllerImpl |
Protected Member Functions | |
void | installExtraTools (InputStream f) throws Exception |
void | loadBuiltinTools (InputStream f) throws Exception |
Protected Attributes | |
CommandCenterGui | gui |
ProjectMaker | projectMaker |
AcsLogger | log |
String | projectCreatorId |
String | version = null |
final String | HELPSET_NAME = "AcsCommandCenter.hs" |
HelpSet | helpSet |
The business logic for Command Center.
AcsCommandCenterProject alma.acs.commandcenter.app.CommandCenterLogic.createProject | ( | ) |
void alma.acs.commandcenter.app.CommandCenterLogic.exit | ( | final int | code | ) |
System.exit() can be prevented by setting the boolean flag to false through the corresponding command line switch.
References alma.acs.commandcenter.app.CommandCenterLogic.log, and alma.acs.commandcenter.app.CommandCenterLogic.startupOptions.
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.prepare(), and alma.acs.commandcenter.app.CommandCenterLogic.stop().
URL alma.acs.commandcenter.app.CommandCenterLogic.findResource | ( | String | name, | |
String | where | |||
) |
Finds a resource in the specified location.
References alma.acs.commandcenter.app.CommandCenterLogic.log.
URL alma.acs.commandcenter.app.CommandCenterLogic.findResource | ( | String | name | ) |
Finds a resource in the resource folder.
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.prepare(), and alma.acs.commandcenter.gui.CommandCenterGui.prepare().
HelpSet alma.acs.commandcenter.app.CommandCenterLogic.getHelpSet | ( | ) |
List<String> alma.acs.commandcenter.app.CommandCenterLogic.giveProjectVariableNames | ( | ) |
For later use by whoever, could currently as well be "protected"
References alma.acs.commandcenter.app.CommandCenterLogic.project.
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.giveVariableMapsForGui().
Map<String, Object> [] alma.acs.commandcenter.app.CommandCenterLogic.giveVariableMapsForGui | ( | ) |
void alma.acs.commandcenter.app.CommandCenterLogic.go | ( | ) |
void alma.acs.commandcenter.app.CommandCenterLogic.handleUnresolvableVariable | ( | String | name | ) |
void alma.acs.commandcenter.app.CommandCenterLogic.insertContainer | ( | ContainerT | cont, | |
int | index | |||
) |
Inserts a container into the project at the given index, that is, the container will afterwards have the index index
.
References alma.acs.commandcenter.app.CommandCenterLogic.project.
void alma.acs.commandcenter.app.CommandCenterLogic.installExtraTools | ( | URL | url | ) | throws Exception |
API method
References alma.acs.commandcenter.app.CommandCenterLogic.currentExtraToolsUrl.
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.prepare().
void alma.acs.commandcenter.app.CommandCenterLogic.installExtraTools | ( | InputStream | f | ) | throws Exception [protected] |
void alma.acs.commandcenter.app.CommandCenterLogic.lessContainers | ( | ) |
void alma.acs.commandcenter.app.CommandCenterLogic.loadBuiltinTools | ( | URL | url | ) | throws Exception |
API method
References alma.acs.commandcenter.app.CommandCenterLogic.latestBuiltinToolsUrl.
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.prepare().
void alma.acs.commandcenter.app.CommandCenterLogic.loadBuiltinTools | ( | InputStream | f | ) | throws Exception [protected] |
internal method
void alma.acs.commandcenter.app.CommandCenterLogic.loadProject | ( | File | f | ) |
References alma.acs.commandcenter.gui.CommandCenterGui.currentProjectChanged(), alma.acs.commandcenter.app.CommandCenterLogic.gui, alma.acs.commandcenter.app.ProjectMaker.loadProject(), alma.acs.commandcenter.app.CommandCenterLogic.log, alma.acs.commandcenter.app.CommandCenterLogic.model, alma.acs.commandcenter.app.CommandCenterLogic.project, alma.acs.commandcenter.app.CommandCenterLogic.projectMaker, alma.acs.commandcenter.gui.CommandCenterGui.setCurrentProjectFile(), and alma.acs.commandcenter.app.ProjectRunModel.setProject().
Referenced by alma.acs.commandcenter.CommandCenter.main().
void alma.acs.commandcenter.app.CommandCenterLogic.moreContainers | ( | ) |
void alma.acs.commandcenter.app.CommandCenterLogic.prepare | ( | StartupOptions | startupOptions | ) |
References alma.acs.commandcenter.app.ProjectMaker.createProject(), alma.acs.commandcenter.app.CommandCenterLogic.deploymentTreeControllerImpl, alma.acs.commandcenter.app.CommandCenterLogic.executeAcs, alma.acs.commandcenter.app.CommandCenterLogic.executeContainer, alma.acs.commandcenter.app.CommandCenterLogic.executeManager, alma.acs.commandcenter.app.CommandCenterLogic.executeServices, alma.acs.commandcenter.app.CommandCenterLogic.executeTools, alma.acs.commandcenter.app.CommandCenterLogic.exit(), alma.acs.commandcenter.app.CommandCenterLogic.findResource(), alma.acs.commandcenter.app.CommandCenterLogic.firestarter, alma.acs.commandcenter.app.CommandCenterLogic.gui, alma.acs.commandcenter.app.CommandCenterLogic.helpSet, alma.acs.commandcenter.app.CommandCenterLogic.HELPSET_NAME, alma.acs.commandcenter.app.CommandCenterLogic.installExtraTools(), alma.acs.commandcenter.app.CommandCenterLogic.loadBuiltinTools(), alma.acs.commandcenter.app.CommandCenterLogic.log, alma.acs.commandcenter.app.CommandCenterLogic.model, alma.acs.commandcenter.gui.CommandCenterGui.prepare(), alma.acs.commandcenter.app.CommandCenterLogic.project, alma.acs.commandcenter.app.CommandCenterLogic.projectCreatorId(), alma.acs.commandcenter.app.CommandCenterLogic.projectMaker, and alma.acs.commandcenter.app.CommandCenterLogic.version().
Referenced by alma.acs.commandcenter.CommandCenter.main().
AcsCommandCenterProject alma.acs.commandcenter.app.CommandCenterLogic.readProject | ( | File | f | ) | throws FileNotFoundException, MarshalException, ValidationException, IOException |
ContainerT alma.acs.commandcenter.app.CommandCenterLogic.removeContainer | ( | int | index | ) |
Removes a container from the project.
References alma.acs.commandcenter.app.CommandCenterLogic.project.
void alma.acs.commandcenter.app.CommandCenterLogic.removeExtraTools | ( | ) |
void alma.acs.commandcenter.app.CommandCenterLogic.runBackground | ( | Runnable | r | ) |
void alma.acs.commandcenter.app.CommandCenterLogic.stop | ( | ) |
References alma.acs.commandcenter.app.CommandCenterLogic.deploymentTreeControllerImpl, alma.acs.commandcenter.app.CommandCenterLogic.exit(), alma.acs.commandcenter.app.CommandCenterLogic.firestarter, alma.acs.commandcenter.app.CommandCenterLogic.gui, alma.acs.commandcenter.meta.Firestarter.shutdown(), alma.acs.commandcenter.gui.CommandCenterGui.stop(), and alma.acs.commandcenter.app.CommandCenterLogic.DeploymentTreeControllerImpl.stop().
Referenced by alma.acs.commandcenter.gui.CommandCenterGui.prepare().
Returns the first non-empty line of file "src/VERSION", or the empty string in any erroneous case.
References alma.acs.commandcenter.app.CommandCenterLogic.version.
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.prepare().
void alma.acs.commandcenter.app.CommandCenterLogic.writeProject | ( | AcsCommandCenterProject | p, | |
File | f | |||
) | throws IOException, MarshalException, ValidationException |
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.go(), alma.acs.commandcenter.app.CommandCenterLogic.handleUnresolvableVariable(), alma.acs.commandcenter.app.CommandCenterLogic.installExtraTools(), alma.acs.commandcenter.app.CommandCenterLogic.loadProject(), alma.acs.commandcenter.app.CommandCenterLogic.prepare(), alma.acs.commandcenter.app.CommandCenterLogic.removeExtraTools(), and alma.acs.commandcenter.app.CommandCenterLogic.stop().
HelpSet alma.acs.commandcenter.app.CommandCenterLogic.helpSet [protected] |
final String alma.acs.commandcenter.app.CommandCenterLogic.HELPSET_NAME = "AcsCommandCenter.hs" [protected] |
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.prepare().
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.exit(), alma.acs.commandcenter.app.CommandCenterLogic.findResource(), alma.acs.commandcenter.app.CommandCenterLogic.DeploymentTreeControllerImpl.giveMaciSupervisor(), alma.acs.commandcenter.app.CommandCenterLogic.loadProject(), and alma.acs.commandcenter.app.CommandCenterLogic.prepare().
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.giveVariableMapsForGui(), alma.acs.commandcenter.app.CommandCenterLogic.loadProject(), alma.acs.commandcenter.gui.CommandCenterGui.managerStarted(), alma.acs.commandcenter.gui.CommandCenterGui.managerStopped(), alma.acs.commandcenter.app.CommandCenterLogic.prepare(), alma.acs.commandcenter.gui.CommandCenterGui.writeModelToManagerLocationForContainers(), and alma.acs.commandcenter.gui.CommandCenterGui.writeModelToManagerLocationForTools().
AcsCommandCenterProject alma.acs.commandcenter.app.CommandCenterLogic.project |
Referenced by alma.acs.commandcenter.gui.TabPanel.getMode(), alma.acs.commandcenter.app.CommandCenterLogic.giveProjectVariableNames(), alma.acs.commandcenter.app.CommandCenterLogic.insertContainer(), alma.acs.commandcenter.app.CommandCenterLogic.lessContainers(), alma.acs.commandcenter.app.CommandCenterLogic.loadProject(), alma.acs.commandcenter.app.CommandCenterLogic.moreContainers(), alma.acs.commandcenter.app.CommandCenterLogic.prepare(), alma.acs.commandcenter.app.CommandCenterLogic.removeContainer(), alma.acs.commandcenter.gui.CommandCenterGui.showContainerSettingsDialog(), alma.acs.commandcenter.gui.CommandCenterGui.writeContainerSettingsDialogToModel(), alma.acs.commandcenter.gui.CommandCenterGui.writeFrontPanelToModel(), alma.acs.commandcenter.gui.CommandCenterGui.writeManagerLocationForContainersToModel(), alma.acs.commandcenter.gui.CommandCenterGui.writeManagerLocationForToolsToModel(), alma.acs.commandcenter.gui.CommandCenterGui.writeModelToContainerSettingsDialog(), alma.acs.commandcenter.gui.CommandCenterGui.writeModelToFrontPanel(), alma.acs.commandcenter.gui.CommandCenterGui.writeModelToManagerLocationForContainers(), and alma.acs.commandcenter.gui.CommandCenterGui.writeModelToManagerLocationForTools().
String alma.acs.commandcenter.app.CommandCenterLogic.projectCreatorId [protected] |
assigned in prepare()
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.projectCreatorId().
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.createProject(), alma.acs.commandcenter.app.CommandCenterLogic.loadProject(), alma.acs.commandcenter.app.CommandCenterLogic.moreContainers(), alma.acs.commandcenter.app.CommandCenterLogic.prepare(), alma.acs.commandcenter.app.CommandCenterLogic.readProject(), and alma.acs.commandcenter.app.CommandCenterLogic.writeProject().
StartupOptions alma.acs.commandcenter.app.CommandCenterLogic.startupOptions |
String alma.acs.commandcenter.app.CommandCenterLogic.version = null [protected] |
assigned in version()
Referenced by alma.acs.commandcenter.app.CommandCenterLogic.version().