|
|
@ -22,21 +22,10 @@ import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
public class ConfigOperation extends Operation {
|
|
|
|
public class ConfigOperation extends Operation {
|
|
|
|
|
|
|
|
|
|
|
|
private final List<Property> properties;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ConfigOperation() {
|
|
|
|
public ConfigOperation() {
|
|
|
|
properties = new ArrayList<>();
|
|
|
|
|
|
|
|
setControl(Control.REPEAT);
|
|
|
|
setControl(Control.REPEAT);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public List<Property> getConfigProperties() {
|
|
|
|
|
|
|
|
return properties;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void addConfigProperty(String name, Object value, Class<?> type) {
|
|
|
|
|
|
|
|
properties.add(new Property(name, value, type));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Type getType() {
|
|
|
|
public Type getType() {
|
|
|
|
return Type.CONFIG;
|
|
|
|
return Type.CONFIG;
|
|
|
|
}
|
|
|
|
}
|
|
|
|