|
|
|
@ -23,10 +23,11 @@ import java.util.List;
|
|
|
|
|
|
|
|
|
|
public class ConfigOperation extends Operation {
|
|
|
|
|
|
|
|
|
|
private List<Property> properties;
|
|
|
|
|
private final List<Property> properties;
|
|
|
|
|
|
|
|
|
|
public ConfigOperation() {
|
|
|
|
|
properties = new ArrayList<Property>();
|
|
|
|
|
properties = new ArrayList<>();
|
|
|
|
|
setControl(Control.REPEAT);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<Property> getConfigProperties() {
|
|
|
|
@ -37,6 +38,10 @@ public class ConfigOperation extends Operation {
|
|
|
|
|
properties.add(new Property(name, value, type));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Type getType() {
|
|
|
|
|
return Type.CONFIG;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static class Property {
|
|
|
|
|
private String name;
|
|
|
|
|
private Object value;
|
|
|
|
@ -73,13 +78,4 @@ public class ConfigOperation extends Operation {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Type getType() {
|
|
|
|
|
return Type.CONFIG;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Control getControl(){
|
|
|
|
|
return Control.REPEAT;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|