return *this;
}
+AppInfo::Builder& AppInfo::Builder::SetVconf(const tizen_base::Bundle& args) {
+ vconf_ = args.GetStringArray(AUL_K_VCONF_DATA);
+ return *this;
+}
+
AppInfo::Builder& AppInfo::Builder::SetArgs(
const tizen_base::Bundle& args) {
static const std::vector<std::string> internal_keys{
std::move(before_),
std::move(requires_),
std::move(conflicts_),
+ std::move(vconf_),
std::move(args_),
std::move(active_state_),
std::move(sub_state_),
AppInfo::AppInfo(std::string appid, uid_t uid, int priority,
std::set<std::string> after, std::set<std::string> before,
std::set<std::string> requires, std::set<std::string> conflicts,
+ std::vector<std::string> vconfs,
tizen_base::Bundle args,
std::string active_state, std::string sub_state,
std::string begin_timestamp, std::string end_timestamp,
before_(std::move(before)),
requires_(std::move(requires)),
conflicts_(std::move(conflicts)),
+ vconf_(std::move(vconfs)),
args_(std::move(args)),
active_state_(std::move(active_state)),
sub_state_(std::move(sub_state)),
return conflicts_;
}
+const std::vector<std::string>& AppInfo::GetVconf() const {
+ return vconf_;
+}
+
const tizen_base::Bundle& AppInfo::GetArgs() const {
return args_;
}
Builder& SetBefore(const tizen_base::Bundle& args);
Builder& SetRequires(const tizen_base::Bundle& args);
Builder& SetConflicts(const tizen_base::Bundle& args);
+ Builder& SetVconf(const tizen_base::Bundle& args);
Builder& SetArgs(const tizen_base::Bundle& args);
Builder& SetBackgroundLaunch(const tizen_base::Bundle& args);
Builder& SetWaitUntilReady(const tizen_base::Bundle& args);
std::set<std::string> before_;
std::set<std::string> requires_;
std::set<std::string> conflicts_;
+ std::vector<std::string> vconf_;
tizen_base::Bundle args_;
std::string active_state_;
std::string sub_state_;
AppInfo(std::string appid, uid_t uid, int priority,
std::set<std::string> after, std::set<std::string> before,
std::set<std::string> requires, std::set<std::string> conflicts,
+ std::vector<std::string> vconfs,
tizen_base::Bundle args,
std::string active_state, std::string sub_state,
std::string begin_timestamp, std::string end_timestamp,
bool ConflictsContains(const std::string& appid);
const std::set<std::string>& ConflictsGet() const;
+ const std::vector<std::string>& GetVconf() const;
const tizen_base::Bundle& GetArgs() const;
bool IsBackgroundLaunch() const;
bool WaitUntilReady() const;
std::set<std::string> before_;
std::set<std::string> requires_;
std::set<std::string> conflicts_;
- std::vector<std::string> required_by_;
+ std::vector<std::string> vconf_;
tizen_base::Bundle args_;
std::string active_state_;
std::string sub_state_;