TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.local.file
Class FileManagerImpl

java.lang.Object
  extended byorg.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
      extended byorg.eclipse.hyades.execution.local.file.FileManagerImpl
All Implemented Interfaces:
IExecutionComponent, IFileManager

Deprecated. Create a file manager instance using the file manager factory instead of directly instantiating the file manager implementation class

public class FileManagerImpl
extends ExecutionComponentImpl
implements IFileManager

The class that previously had this name has been deprecated to the file manager legacy class and this class becomes a bridge class bridging the old expected class and implicit and explicit interfaces to the new implementation that uses a factory to determine if the old or new file server is in use on the agent controller installation

See Also:
FileManagerFactory

Field Summary
 
Fields inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
children, id, name, node, parent, state, stateChangeListeners, type, version
 
Fields inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent
DEAD, INACTIVE, NOT_CONFIGURED, READY, SUSPENDED
 
Constructor Summary
FileManagerImpl(org.eclipse.hyades.internal.execution.local.control.Connection connection)
          Deprecated. Constructs a new file manager implementation to be used for transferring and managing files on the agent controller machine; the recommended method of obtaining the file manager implementation is to use the public file manager factory
 
Method Summary
 void deleteFile(java.lang.String remoteName)
          Deprecated. Method to delete the named file
 void getFile(java.lang.String localName, java.lang.String remoteName)
          Deprecated. Method to request Agent Controller to send the named file.
 void putFile(java.lang.String localName, java.lang.String remoteName)
          Deprecated. Method to send a file to the Agent Controller machine.
 
Methods inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileManagerImpl

public FileManagerImpl(org.eclipse.hyades.internal.execution.local.control.Connection connection)
                throws org.eclipse.hyades.internal.execution.core.file.ServerNotAvailableException
Deprecated. 
Constructs a new file manager implementation to be used for transferring and managing files on the agent controller machine; the recommended method of obtaining the file manager implementation is to use the public file manager factory

Parameters:
connection - the connection to the agent controller
Throws:
org.eclipse.hyades.internal.execution.core.file.ServerNotAvailableException
Method Detail

getFile

public void getFile(java.lang.String localName,
                    java.lang.String remoteName)
             throws java.io.IOException
Deprecated. 
Description copied from interface: IFileManager
Method to request Agent Controller to send the named file.

Specified by:
getFile in interface IFileManager
Parameters:
localName - - where to put it on the client side.
remoteName - - remote file name
Throws:
java.io.IOException

putFile

public void putFile(java.lang.String localName,
                    java.lang.String remoteName)
             throws java.io.IOException
Deprecated. 
Description copied from interface: IFileManager
Method to send a file to the Agent Controller machine.

Specified by:
putFile in interface IFileManager
Parameters:
localName - - where to find the file.
remoteName - - where to put the file.
Throws:
java.io.IOException

deleteFile

public void deleteFile(java.lang.String remoteName)
                throws java.io.IOException
Deprecated. 
Description copied from interface: IFileManager
Method to delete the named file

Specified by:
deleteFile in interface IFileManager
Parameters:
remoteName - - name of the file.
Throws:
java.io.IOException

TPTP 4.4.0 Platform Project
Public API Specification