public class VibeLauncher extends JobLauncher
This class inherits from JobLauncher form. It will create the Vibe launcher so that it can remote execute the code.
component
Constructor and Description |
---|
VibeLauncher()
A nullary constructor that delegates to the project constructor.
|
VibeLauncher(org.eclipse.core.resources.IProject project)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
copyInputDirectory(java.lang.String src,
java.lang.String dest)
Recursively copies a directory to a destination.
|
FormStatus |
process(java.lang.String actionName)
Overrides process by setting the executable correctly and then forwarding
later.
|
void |
setupForm()
This operation overrides setupForm() on JobLauncher.
|
void |
update(IUpdateable component)
Override of update so that the VibeLauncher can check if the user wants
to select a custom KV Pair file.
|
addHost, addInputType, clone, copy, deleteHost, disableMPI, disableOpenMP, disableTBB, enableMPI, enableOpenMP, enableTBB, equals, getAllHosts, hashCode, reloadProjectData, removeInputType, setExecutable
addListener, cancelProcess, cancelProcess, copy, disable, equals, getAvailableActions, getDescription, getForm, getId, getItemBuilderName, getItemType, getName, getOutputFile, getResource, getResource, getStatus, hasProject, isEnabled, loadFromPSF, loadInput, setActionFactory, setDescription, setId, setIOService, setItemBuilderName, setName, setProject, setupFormWithServices, submitForm, update, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public VibeLauncher()
public VibeLauncher(org.eclipse.core.resources.IProject project)
The constructor. Takes an IProject argument. Calls the super constructor on JobLauncher.
project
- The project space.
public void setupForm()
This operation overrides setupForm() on JobLauncher. It will setup the paths and add the locations for the remote server addresses. It will call super.setupForm() prior to setting up the executable and hostnames.
public FormStatus process(java.lang.String actionName)
Overrides process by setting the executable correctly and then forwarding later. Still calls super.process(actionName) once the executable is set correctly for the workstation.conf file.
process
in class JobLauncher
actionName
- The name of the action.public void update(IUpdateable component)
update
in interface IUpdateableListener
update
in class JobLauncher
component
- The component that was updated in some way.public void copyInputDirectory(java.lang.String src, java.lang.String dest)
src
- The directory to copy overdest
- Where to put the directory