Package com.mapr.baseutils
Class BaseUtilsHelper
- java.lang.Object
-
- com.mapr.baseutils.BaseUtilsHelper
-
public class BaseUtilsHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringclusterIdstatic java.lang.StringHOST_NAME_FILE_PATH
-
Constructor Summary
Constructors Constructor Description BaseUtilsHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetClusterId()static java.lang.StringgetMapRHostName()Reads the hostname from /opt/mapr/hostname file.static java.lang.StringgetPathToMaprHome()static java.lang.StringgetStandardUiPortProperty()static java.lang.StringgetUIPortProperty()static java.lang.StringgetUrlScheme()static voidsetMapRHostName(java.lang.String host)
-
-
-
Method Detail
-
getClusterId
public static java.lang.String getClusterId()
-
getPathToMaprHome
public static java.lang.String getPathToMaprHome()
-
getMapRHostName
public static java.lang.String getMapRHostName()
Reads the hostname from /opt/mapr/hostname file.- Returns:
- the hostname
-
setMapRHostName
public static void setMapRHostName(java.lang.String host)
-
getUrlScheme
public static java.lang.String getUrlScheme()
-
getStandardUiPortProperty
public static java.lang.String getStandardUiPortProperty()
-
getUIPortProperty
public static java.lang.String getUIPortProperty()
-
-