blob: cc9acd2e575581313ad340f8cfa890dc1d600a3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package com.c2kernel.process.module;
public class ModuleConfig {
public String name;
public String value;
public String target;
public ModuleConfig() {
}
public ModuleConfig(String name, String value, String target) {
super();
this.name = name;
this.value = value;
this.target = target;
}
public boolean include(boolean isServer) {
return (target == null || target.length() == 0 || isServer == target.equals("server"));
}
}
|