implemented disabling of blocks and routes

This commit is contained in:
Stephan Richter
2020-11-02 10:41:34 +01:00
parent 416a9cd2df
commit 817c8fb60d
6 changed files with 31 additions and 5 deletions

View File

@@ -61,6 +61,7 @@ public abstract class Condition implements Constants {
}
public static Condition create(String type) {
if (type == null) return null;
try {
return (Condition) Class.forName(PREFIX+"."+type).getDeclaredConstructor().newInstance();
} catch (Exception e) {