com.atlassian.fisheye.spi.services
Interface ServerInfoService
public interface ServerInfoService
getServerTimeZone
java.util.TimeZone getServerTimeZone()
- Returns:
- the time zone that the server is running in.
getAppHome
java.lang.String getAppHome()
- Returns:
- an absoluate path to the applications home direction.
getInstanceDir
java.lang.String getInstanceDir()
- Returns:
- an absolute path to the instance directory
getProductVersionInfo
VersionInfo getProductVersionInfo()
- Get product version info
- Returns:
- versionInfo
isFishEye
boolean isFishEye()
- Returns:
true if the server is running with a license that includes FishEye,
false otherwise.
This is useful for FishEye plugins to verify whether FishEye services are available.
isCrucible
boolean isCrucible()
- Returns:
true if the server is running with a license that includes Crucible,
false otherwise.
This is useful for Crucible plugins to verify whether Crucible services are available.