Refactor deploy properties and move legacy CMS exception.
[lgpl/argeo-commons.git] / org.argeo.api.cms / src / org / argeo / api / cms / CmsState.java
index 3e0e8b75725f8d1982f63ec0a1da04f22050d3b5..181e4b9c661f716424f0d183bf97514431680b51 100644 (file)
@@ -1,6 +1,7 @@
 package org.argeo.api.cms;
 
 import java.nio.file.Path;
+import java.util.List;
 import java.util.UUID;
 
 /** A running node process. */
@@ -11,7 +12,13 @@ public interface CmsState {
 
        UUID getUuid();
 
-       String getDeployProperty(String key);
-       
+       String getDeployProperty(String property);
+
+       /**
+        * A list of size of the max count for this property, with null values when the
+        * property is not set, or an empty list (size 0) if this property is unknown.
+        */
+       List<String> getDeployProperties(String property);
+
        Path getDataPath(String relativePath);
 }