ExportOptions.java
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.cq.mobile.dps.impl.export;
import java.util.HashMap;
public class ExportOptions {
private static final long serialVersionUID = 7042302195945834350L;
private ExportMode exportMode = null;
private HashMap<String, Object> exportOptions = new HashMap();
public static final String OPTION_FILE_TYPE = "export-file-type";
public ExportOptions() {
this(ExportMode.EXPORT_ARTICLE);
}
public ExportOptions(ExportMode mode) {
this.setExportMode(mode);
}
public ExportMode getExportMode() {
return this.exportMode;
}
public void setExportMode(ExportMode mode) {
this.exportMode = mode;
}
public Object getExportOption(String optionKey) {
return this.exportOptions.get(optionKey);
}
public void setExportOption(String optionKey, Object optionValue) {
this.exportOptions.put(optionKey, optionValue);
}
public static enum ExportFileType {
ZIP;
private ExportFileType() {
}
}
public static enum ExportMode {
EXPORT_ARTICLE,
EXPORT_RESOURCES;
private ExportMode() {
}
}
}