19 package org.sleuthkit.autopsy.logicalimager.configuration;
21 import com.google.gson.annotations.Expose;
22 import com.google.gson.annotations.SerializedName;
23 import java.util.List;
28 class LogicalImagerRuleSet {
30 @SerializedName(
"set-name")
31 @Expose(serialize =
true)
32 final private String setName;
34 @SerializedName("rules")
35 @Expose(serialize = true)
36 private final List<LogicalImagerRule> rules;
38 LogicalImagerRuleSet(String setName, List<LogicalImagerRule> rules) {
39 this.setName = setName;
47 List<LogicalImagerRule> getRules() {
54 LogicalImagerRule find(String name) {
55 for (LogicalImagerRule rule : rules) {
56 if (rule.getName().equals(name)) {