Revision 48139
Added by Alessia Bardi almost 7 years ago
PrepareIISMainParamsJobNode.java | ||
---|---|---|
3 | 3 |
import java.util.List; |
4 | 4 |
import java.util.Map; |
5 | 5 |
|
6 |
import org.springframework.beans.factory.annotation.Required; |
|
7 |
|
|
8 | 6 |
import com.google.gson.Gson; |
9 | 7 |
import com.googlecode.sarasvati.Arc; |
10 | 8 |
import com.googlecode.sarasvati.NodeToken; |
9 |
import org.springframework.beans.factory.annotation.Required; |
|
11 | 10 |
|
12 | 11 |
@Deprecated |
13 | 12 |
public class PrepareIISMainParamsJobNode extends PrepareIISParams { |
... | ... | |
25 | 24 |
|
26 | 25 |
token.getEnv().setAttribute(getObjectStoreParam(), getFilteredObjectStoreCSV(getXqueryObjectStores())); |
27 | 26 |
|
28 |
@SuppressWarnings("unchecked") |
|
29 |
final List<Map<String, String>> sets = new Gson().fromJson(token.getEnv().getAttribute("sets"), List.class); |
|
27 |
@SuppressWarnings("unchecked") final List<Map<String, String>> sets = new Gson().fromJson(token.getEnv().getAttribute("sets"), List.class); |
|
30 | 28 |
for (Map<String, String> set : sets) { |
31 | 29 |
token.getEnv().setAttribute(set.get("enablingProperty"), set.get("enabled")); |
32 | 30 |
} |
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40