|
|
|
@ -53,6 +53,9 @@ public class ZoneGroupConfiguration { |
|
|
|
if (reportStrategy == null) { |
|
|
|
throw new IllegalArgumentException("Report strategy must be specified for '" + name + "' zone group!"); |
|
|
|
} |
|
|
|
if (hasDynamicSource()) { |
|
|
|
refDynamicSourceConfiguration.validate(); |
|
|
|
} |
|
|
|
if (!createRelationsWithMatchedZones) { |
|
|
|
return; |
|
|
|
} |
|
|
|
@ -62,9 +65,6 @@ public class ZoneGroupConfiguration { |
|
|
|
if (direction == null) { |
|
|
|
throw new IllegalArgumentException("Relation direction must be specified for '" + name + "' zone group!"); |
|
|
|
} |
|
|
|
if (hasDynamicSource()) { |
|
|
|
refDynamicSourceConfiguration.validate(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public boolean hasDynamicSource() { |
|
|
|
|