public interface IGlobalConfigurationResolver
| Modifier and Type | Method and Description |
|---|---|
com.sitewhere.spi.resource.IResource |
getAssetResource(java.lang.String path)
Get an asset resource based on relative path.
|
java.net.URI |
getFilesystemConfigurationRoot()
Deprecated.
|
com.sitewhere.spi.resource.IResource |
getGlobalConfiguration(com.sitewhere.spi.system.IVersion version)
Get the global configuration resource.
|
com.sitewhere.spi.resource.IResource |
getResourceForPath(java.lang.String path)
Gets a resource for the given global path.
|
com.sitewhere.spi.resource.IResource |
getScriptResource(java.lang.String path)
Get a script resource based on relative path.
|
com.sitewhere.spi.resource.IResource |
resolveServerState(com.sitewhere.spi.system.IVersion version)
Get server state information as a resource.
|
void |
storeServerState(com.sitewhere.spi.system.IVersion version,
byte[] data)
Store information about server state.
|
@Deprecated
java.net.URI getFilesystemConfigurationRoot()
throws com.sitewhere.spi.SiteWhereException
IResourceManager implementation and will be removed.com.sitewhere.spi.SiteWhereExceptioncom.sitewhere.spi.resource.IResource getResourceForPath(java.lang.String path)
throws com.sitewhere.spi.SiteWhereException
path - com.sitewhere.spi.SiteWhereExceptioncom.sitewhere.spi.resource.IResource getAssetResource(java.lang.String path)
throws com.sitewhere.spi.SiteWhereException
path - com.sitewhere.spi.SiteWhereExceptioncom.sitewhere.spi.resource.IResource getScriptResource(java.lang.String path)
throws com.sitewhere.spi.SiteWhereException
path - com.sitewhere.spi.SiteWhereExceptioncom.sitewhere.spi.resource.IResource getGlobalConfiguration(com.sitewhere.spi.system.IVersion version)
throws com.sitewhere.spi.SiteWhereException
version - com.sitewhere.spi.SiteWhereExceptioncom.sitewhere.spi.resource.IResource resolveServerState(com.sitewhere.spi.system.IVersion version)
throws com.sitewhere.spi.SiteWhereException
version - com.sitewhere.spi.SiteWhereExceptionvoid storeServerState(com.sitewhere.spi.system.IVersion version,
byte[] data)
throws com.sitewhere.spi.SiteWhereException
version - data - com.sitewhere.spi.SiteWhereException