ProcessorContextImpl.java
1.3 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
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.aemfd.docmanager.Document
*/
package com.adobe.aemfd.watchfolder.service;
import com.adobe.aemfd.docmanager.Document;
import com.adobe.aemfd.watchfolder.service.api.ProcessorContext;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public class ProcessorContextImpl
implements ProcessorContext {
public String watchFolderId;
public Map<String, Document> inputMap = new HashMap<String, Document>();
public Map<String, Object> configParameters;
public Map<String, Document> resultMap = new HashMap<String, Document>();
@Override
public String getWatchFolderId() {
return this.watchFolderId;
}
@Override
public Map<String, Document> getInputMap() {
return this.inputMap == null ? null : Collections.unmodifiableMap(this.inputMap);
}
@Override
public Map<String, Object> getConfigParameters() {
return this.configParameters == null ? null : Collections.unmodifiableMap(this.configParameters);
}
@Override
public void setResult(String fileName, Document contents) {
this.resultMap.put(fileName, contents);
}
}