
Public Member Functions | |
| FileSystemResource () | |
| Creates a new FileSystemResource with the default values. | |
| FileSystemResource (ResourceInstance resourceInstance) | |
| Creates a new FileSystemResource based on a generic ResourceInstance. | |
| FileSystemResource (String localId, InstanceName instanceName, List< Property > propertiesList) | |
| Creates a new FileSystemResource based on the parameters. | |
| Job | deploy (File file) throws IOException |
| Creates a new Job which once executed, deploys a file on the remote file system. | |
| Job | deploy (String name, String content, boolean isEncoded) |
| Creates a new Job which once executed, deploys ("upload") a file on the remote file system. | |
| Job | getStatus (String session) |
| Creates a new Job which once executed, returns the status of a file located on a remote file system. | |
| Job | list () |
| Creates a new Job which once executed, returns a list of files on the remote file system. | |
| Job | remove (String session) |
| Creates a new Job which once executed, removes a file on the remote file systems. | |
| Job | retrieve (String session) |
| Creates a new Job which once executed, retrieves ("download") a file on the remote file system. | |
Static Public Member Functions | |
| static FileSystemResource | cast (ResourceInstance resourceInstance) |
| Converts a generic ResourceInstance into a new one of type FileSystemResource. | |
Static Public Attributes | |
| static final String | ID = "FileSystem" |
| String containing the identifier for this resource. | |
<?xml version="1.0" encoding="utf-8"?>
<Resource xmlns="http://www.abiquo.com/schema/Domain.xsd" LocalId="FileSystemResource">
<FunctionalityList >
<Functionality LocalId="deploy" ReturnType="DataReference">
<AttributeList>
<Attribute Name="Input" Type="DataReference" />
</AttributeList>
</Functionality>
<Functionality LocalId="retrieve" ReturnType="DataReference">
<AttributeList>
<Attribute Name="Session" Type="String" />
</AttributeList>
</Functionality>
<Functionality LocalId="getStatus" ReturnType="DataReference">
<AttributeList>
<Attribute Name="Session" Type="String" />
</AttributeList>
</Functionality>
<Functionality LocalId="remove" ReturnType="DataReference">
<AttributeList>
<Attribute Name="Session" Type="String" />
</AttributeList>
</Functionality>
<Functionality LocalId="list" ReturnType="void"/>
</FunctionalityList>
</Resource>
| com.abiquo.api.resources.FileSystemResource.FileSystemResource | ( | ResourceInstance | resourceInstance | ) |
Creates a new FileSystemResource based on a generic ResourceInstance.
| resourceInstance | The generic ResourceInstance |
| com.abiquo.api.resources.FileSystemResource.FileSystemResource | ( | String | localId, | |
| InstanceName | instanceName, | |||
| List< Property > | propertiesList | |||
| ) |
Creates a new FileSystemResource based on the parameters.
| name | The name of the resource | |
| instanceName | An InstanceName | |
| propertiesList | Properties list |
| static FileSystemResource com.abiquo.api.resources.FileSystemResource.cast | ( | ResourceInstance | resourceInstance | ) | [static] |
Converts a generic ResourceInstance into a new one of type FileSystemResource.
| resourceInstance | The generic ResourceInstance |
Reimplemented in com.abiquo.api.resources.FlickrResource.
| Job com.abiquo.api.resources.FileSystemResource.deploy | ( | File | file | ) | throws IOException |
Creates a new Job which once executed, deploys a file on the remote file system.
| file | The file to deploy |
| IOException | Signals that an I/O exception has occurred. |
| Job com.abiquo.api.resources.FileSystemResource.deploy | ( | String | name, | |
| String | content, | |||
| boolean | isEncoded | |||
| ) |
Creates a new Job which once executed, deploys ("upload") a file on the remote file system.
| name | The name of the file to deploy | |
| content | The content to deploy | |
| isEncoded | If the content is already on Base64 |
| Job com.abiquo.api.resources.FileSystemResource.getStatus | ( | String | session | ) |
Creates a new Job which once executed, returns the status of a file located on a remote file system.
* <Functionality Name="getStatus" ReturnType=""> <Attribute Name="Session"Type="string" />. *
| session | The file session identifier |
| Job com.abiquo.api.resources.FileSystemResource.list | ( | ) |
Creates a new Job which once executed, returns a list of files on the remote file system.
* <Functionality Name="list" ReturnType="">. *
Reimplemented in com.abiquo.api.resources.FlickrResource.
| Job com.abiquo.api.resources.FileSystemResource.remove | ( | String | session | ) |
Creates a new Job which once executed, removes a file on the remote file systems.
* <Functionality Name="remove" ReturnType=""> <Attribute Name="Session" Type="string" />. *
| session | The file session identifier |
Reimplemented in com.abiquo.api.resources.FlickrResource.
| Job com.abiquo.api.resources.FileSystemResource.retrieve | ( | String | session | ) |
Creates a new Job which once executed, retrieves ("download") a file on the remote file system.
* <Functionality Name="retrieve" ReturnType=""> <Attribute Name="Session" Type="string" />. *
| sessio | The file session identifier |
Reimplemented in com.abiquo.api.resources.FlickrResource.
final String com.abiquo.api.resources.FileSystemResource.ID = "FileSystem" [static] |
String containing the identifier for this resource.
Reimplemented in com.abiquo.api.resources.FlickrResource.
1.5.5