]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.api.cms/src/org/argeo/api/cms/CmsState.java
Improve overriding A2 modules
[lgpl/argeo-commons.git] / org.argeo.api.cms / src / org / argeo / api / cms / CmsState.java
1 package org.argeo.api.cms;
2
3 import java.nio.file.Path;
4 import java.util.List;
5 import java.util.UUID;
6
7 /** A running node process. */
8 public interface CmsState {
9 /** Local host on which this state is running. */
10 String getHostname();
11
12 /** Since when this state has been available. */
13 Long getAvailableSince();
14
15 UUID getUuid();
16
17 /** A deploy property, or <code>null</code> if it is not set. */
18 String getDeployProperty(String property);
19
20 /**
21 * A list of size of the max count for this property, with null values when the
22 * property is not set, or an empty list (size 0) if this property is unknown.
23 */
24 List<String> getDeployProperties(String property);
25
26 /** A local path in the data area. */
27 Path getDataPath(String relativePath);
28
29 /** A local path in the state area. */
30 Path getStatePath(String relativePath);
31 }