1 package yukihane.inqubus.config;
3 import saccubus.worker.profile.CommentProfile;
4 import saccubus.worker.profile.DownloadProfile;
5 import saccubus.worker.profile.GeneralProfile;
6 import saccubus.worker.profile.LoginProfile;
7 import saccubus.worker.profile.ProxyProfile;
8 import saccubus.worker.profile.VideoProfile;
11 * コンフィグに設定された値を基にしたDownloadProfile実装.
14 public class ConfigDownloadProfile implements DownloadProfile {
16 private final LoginProfile loginProfile;
17 private final ProxyProfile proxyProfile;
18 private final VideoProfile videoProfile;
19 private final CommentProfile commentProfile;
20 private final GeneralProfile generalProfile;
22 public ConfigDownloadProfile() {
23 this.loginProfile = new ConfigLoginProfile();
24 this.proxyProfile = new ConfigProxyProfile();
25 this.videoProfile = new ConfigVideoProfile();
26 this.commentProfile = new ConfigCommentProfile();
27 this.generalProfile = new ConfigGeneralProfile();
31 public LoginProfile getLoginProfile() {
36 public ProxyProfile getProxyProfile() {
37 return this.proxyProfile;
41 public VideoProfile getVideoProfile() {
42 return this.videoProfile;
46 public CommentProfile getCommentProfile() {
47 return this.commentProfile;
51 public GeneralProfile getGeneralProfile() {
52 return this.generalProfile;