X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;ds=inline;f=org.argeo.api.cms%2Fsrc%2Forg%2Fargeo%2Fapi%2Fcms%2FCmsState.java;h=3ccf0320687c62c3bacb4ba3c5044e0e29351f52;hb=40b08908d2519f46bce6d1bc3364224100c59c28;hp=8703b6b62d795d1d7e1cbb86aee0a707dbe7f4d2;hpb=2c5da70747629282585d5515720dcb1515a0011c;p=lgpl%2Fargeo-commons.git
diff --git a/org.argeo.api.cms/src/org/argeo/api/cms/CmsState.java b/org.argeo.api.cms/src/org/argeo/api/cms/CmsState.java
index 8703b6b62..3ccf03206 100644
--- a/org.argeo.api.cms/src/org/argeo/api/cms/CmsState.java
+++ b/org.argeo.api.cms/src/org/argeo/api/cms/CmsState.java
@@ -6,12 +6,15 @@ import java.util.UUID;
/** A running node process. */
public interface CmsState {
+ /** Local host on which this state is running. */
String getHostname();
+ /** Since when this state has been available. */
Long getAvailableSince();
UUID getUuid();
+ /** A deploy property, or null
if it is not set. */
String getDeployProperty(String property);
/**
@@ -20,7 +23,9 @@ public interface CmsState {
*/
List getDeployProperties(String property);
+ /** A local path in the data area. */
Path getDataPath(String relativePath);
+ /** A local path in the state area. */
Path getStatePath(String relativePath);
}