]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.api.cms/src/org/argeo/api/cms/CmsState.java
Introduce UUID identified and openForEdit/freeze cycle
[lgpl/argeo-commons.git] / org.argeo.api.cms / src / org / argeo / api / cms / CmsState.java
index 9ffba68c12d1560a7447af92ee0b4d5e4319ba3c..3ccf0320687c62c3bacb4ba3c5044e0e29351f52 100644 (file)
@@ -6,10 +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 <code>null</code> if it is not set. */
        String getDeployProperty(String property);
 
        /**
@@ -18,5 +23,9 @@ public interface CmsState {
         */
        List<String> 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);
 }