org.objectweb.proactive.core.process.unicore
Class UnicoreProcess
java.lang.Object
org.objectweb.proactive.core.process.AbstractUniversalProcess
org.objectweb.proactive.core.process.AbstractExternalProcess
org.objectweb.proactive.core.process.AbstractExternalProcessDecorator
org.objectweb.proactive.core.process.unicore.UnicoreProcess
- All Implemented Interfaces:
- ExternalProcess, ExternalProcessDecorator, java.io.Serializable, UniversalProcess
- public class UnicoreProcess
- extends AbstractExternalProcessDecorator
Unicore Process implementation.
This implementation works only for ProActive deployment, and not to submit single commands
- Since:
- ProActive 3.0
- Version:
- 1.0, 2005/09/20
- Author:
- ProActive Team
- See Also:
- Serialized Form
Fields inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess |
certificateLocation, command, command_path, DEFAULT_HOSTNAME, DEFAULT_USERNAME, environment, hostname, isFinished, isStarted, LOCALHOST, privateKeyLocation, securityFile, username |
Methods inherited from class org.objectweb.proactive.core.process.AbstractExternalProcess |
buildEnvironmentCommand, buildUnixEnvironmentCommand, buildWindowsEnvironmentCommand, closeStream, getErrorMessageLogger, getFileTransferWorkShopDeploy, getFileTransferWorkShopRetrieve, getInputMessageLogger, getOutputMessageSink, handleError, handleInput, handleProcess, internalStartFileTransfer, internalStopProcess, internalWaitFor, setErrorMessageLogger, setInputMessageLogger, setOutputMessageSink |
Methods inherited from class org.objectweb.proactive.core.process.AbstractUniversalProcess |
checkStarted, getCommand, getCommandPath, getEnvironment, getHostname, getUsername, isFinished, isHierarchical, isStarted, pushProcessAttributes, setCommandPath, setEnvironment, setHostname, setUsername, startFileTransfer, startProcess, stopProcess, toString, waitFor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.process.UniversalProcess |
getCommand, getCommandPath, getEnvironment, getHostname, getUsername, isFinished, isHierarchical, isStarted, setCommandPath, setEnvironment, setHostname, setUsername, startFileTransfer, startProcess, stopProcess, waitFor |
uParam
public UnicoreParameters uParam
UnicoreProcess
public UnicoreProcess()
UnicoreProcess
public UnicoreProcess(ExternalProcess targetProcess)
internalStartProcess
protected void internalStartProcess(java.lang.String commandToExecute)
throws java.io.IOException
- Overrides:
internalStartProcess
in class AbstractExternalProcessDecorator
- Throws:
java.io.IOException
internalBuildCommand
protected java.lang.String internalBuildCommand()
- Specified by:
internalBuildCommand
in class AbstractExternalProcessDecorator
internalFileTransferDefaultProtocol
protected boolean internalFileTransferDefaultProtocol()
- Description copied from class:
AbstractExternalProcess
- This method should be redefined on every protocol that
internaly implements the file transfer. Ex: Unicore
- Overrides:
internalFileTransferDefaultProtocol
in class AbstractExternalProcess
- Returns:
- true if and only if successful.
getProcessId
public java.lang.String getProcessId()
- Description copied from interface:
UniversalProcess
- Returns the id of the process
- Returns:
- the id of the process. This id is just the first letters of the process
class, to be able to identify the sequence of processes used
getNodeNumber
public int getNodeNumber()
- Description copied from interface:
UniversalProcess
- Returns the number of nodes targeted
- Returns:
- the number of nodes targeted. Represents the number of nodes expected to use
when starting this process. If this number cannot be known, waiting for all available nodes
for example, UNKNOWN_NODE_NUMBER is returned.
getFinalProcess
public UniversalProcess getFinalProcess()
- Description copied from interface:
UniversalProcess
- Returns the last process of the chain
- Returns:
- the last process of the chain
getFileTransferDefaultCopyProtocol
public java.lang.String getFileTransferDefaultCopyProtocol()
- Overrides:
getFileTransferDefaultCopyProtocol
in class AbstractExternalProcess
Copyright 2001-2005 INRIA All Rights Reserved.