com.zeroturnaround.liverebel.api
Interface ApplicationInfo


public interface ApplicationInfo

Information about application versions.

Author:
Rein Raudjärv

Method Summary
 Map<String,String> getActiveVersionPerServer()
          Deprecated. use getLocalInfos() instead
 Set<String> getActiveVersions()
           
 String getId()
           
 List<LocalInfo> getLocalInfos()
           
 Set<String> getUrls()
           
 Set<String> getVersions()
           
 Map<String,VersionInfo> getVersionsMap()
           
 

Method Detail

getId

String getId()
Returns:
application Id.

getVersions

Set<String> getVersions()
Returns:
all available version Ids.

getVersionsMap

Map<String,VersionInfo> getVersionsMap()
Returns:
map of VersionInfo objects by versionId

getActiveVersions

Set<String> getActiveVersions()
Returns:
all active version Ids (different versions can be active on different servers).

getActiveVersionPerServer

Map<String,String> getActiveVersionPerServer()
Deprecated. use getLocalInfos() instead

Returns:
all active version Ids per server Id. (only one version can be active on a single server).

getLocalInfos

List<LocalInfo> getLocalInfos()
Returns:
information about local application (application deployed to server)

getUrls

Set<String> getUrls()
Returns:
all known URLs of the application.


Copyright © 2012. All Rights Reserved.