]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.api.cms/src/org/argeo/api/cms/CmsState.java
1 package org
.argeo
.api
.cms
;
3 import java
.nio
.file
.Path
;
7 /** A running node process. */
8 public interface CmsState
{
9 /** Local host on which this state is running. */
12 /** Since when this state has been available. */
13 Long
getAvailableSince();
17 /** A deploy property, or <code>null</code> if it is not set. */
18 String
getDeployProperty(String property
);
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.
24 List
<String
> getDeployProperties(String property
);
26 /** A local path in the data area. */
27 Path
getDataPath(String relativePath
);
29 /** A local path in the state area. */
30 Path
getStatePath(String relativePath
);