Inherits IFileSystemService.
Public Member Functions | |
| FileSystemService (IGridAccess access) | |
| Instantiates a new file system service based on the IGridAccess passed by parameter. | |
| InstanceName | deploy (String nodeName, Data data) |
| Sets data.localId as the file name, blocking until ends transaction. | |
| InstanceName | deploy (String nodeName, String filePath) |
| Sets data.localId as the file name, blocking until ends transaction. | |
| InstanceName | getFileSystem (String node) |
| This method recover the instanceName of a node. | |
| Map< String, FileSystemResource > | getFileSystems () |
| Gets the file systems. | |
| String | getStatus (InstanceName in) |
| Consult the state of a given FileResource. | |
| List < FileSystemResourceListResult > | list (String nodeName) |
| Returns a description list formed by. | |
| void | remove (InstanceName in) |
| Removes the file resource on argument. | |
| Data | retrieve (InstanceName fileInsName) |
| Obtains the data associated to a file resource referenced, blocking until ends transaction. | |
| void | setFileSystems (Hashtable< String, FileSystemResource > fileSystems) |
| Sets the file systems. | |
| com.abiquo.api.services.FileSystemService.FileSystemService | ( | IGridAccess | access | ) |
Instantiates a new file system service based on the IGridAccess passed by parameter.
| access | The IGridAccess from the user Grid |
| InstanceName com.abiquo.api.services.FileSystemService.deploy | ( | String | nodeName, | |
| Data | data | |||
| ) |
Sets data.localId as the file name, blocking until ends transaction.
| nodeName | The node name | |
| data | The deployed data |
| InstanceName com.abiquo.api.services.FileSystemService.deploy | ( | String | nodeName, | |
| String | filePath | |||
| ) |
Sets data.localId as the file name, blocking until ends transaction.
| nodeName | the node name | |
| filePath | the file from the Data is constructed |
| InstanceName com.abiquo.api.services.FileSystemService.getFileSystem | ( | String | node | ) |
This method recover the instanceName of a node.
| node | the node |
| Map<String, FileSystemResource> com.abiquo.api.services.FileSystemService.getFileSystems | ( | ) |
Gets the file systems.
| String com.abiquo.api.services.FileSystemService.getStatus | ( | InstanceName | in | ) |
Consult the state of a given FileResource.
| in | the file resource instance name |
| List<FileSystemResourceListResult> com.abiquo.api.services.FileSystemService.list | ( | String | nodeName | ) |
Returns a description list formed by.
..
| nodeName | the node name to consult |
| void com.abiquo.api.services.FileSystemService.remove | ( | InstanceName | in | ) |
Removes the file resource on argument.
| in | the instance name used to access this data |
| Data com.abiquo.api.services.FileSystemService.retrieve | ( | InstanceName | fileInsName | ) |
Obtains the data associated to a file resource referenced, blocking until ends transaction.
| fileInsName | the instance name used to access this data |
| void com.abiquo.api.services.FileSystemService.setFileSystems | ( | Hashtable< String, FileSystemResource > | fileSystems | ) |
Sets the file systems.
| fileSystems | the file systems |
1.5.5