Qore FileDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
FileMoveDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace FileDataProvider {
28class FileMoveDataProvider : public AbstractDataProvider {
29
30public:
32 const ProviderInfo = <DataProviderInfo>{
33 "name": "move",
34 "desc": "File move data provider; moves files or entire directory trees on the filesystem given source "
35 "and target paths as arguments",
36 "type": "FileMoveDataProvider",
37 "supports_request": True,
38 };
39
41 const ProviderSummaryInfo = cast<hash<DataProviderSummaryInfo>>(ProviderInfo{
42 AbstractDataProvider::DataProviderSummaryInfoKeys
43 });
44
47
50
52 string getName();
53
54
56
65protected:
66 auto doRequestImpl(auto req, *hash<auto> request_options);
67public:
68
69
71
73protected:
74 *AbstractDataProviderType getRequestTypeImpl();
75public:
76
77
79
81protected:
82 *AbstractDataProviderType getResponseTypeImpl();
83public:
84
85
87 hash<DataProviderInfo> getStaticInfoImpl();
88
89};
90};
The File move data provider class.
Definition: FileMoveDataProvider.qc.dox.h:28
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returns the response.
const ProviderInfo
Provider info.
Definition: FileMoveDataProvider.qc.dox.h:32
const RequestType
Request type.
Definition: FileMoveDataProvider.qc.dox.h:46
const ProviderSummaryInfo
Provider summary info.
Definition: FileMoveDataProvider.qc.dox.h:41
const ResponseType
Response type.
Definition: FileMoveDataProvider.qc.dox.h:49
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
string getName()
Returns the data provider name.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
Data type for move file request calls.
Definition: FileMoveRequestDataType.qc.dox.h:27
Data type for file response APIs with a single "target" key.
Definition: FileTargetResponseDataType.qc.dox.h:27
Qore FileDataProvider module definition.
Definition: FileCopyDataProvider.qc.dox.h:26