Package com.microstrategy.web.app
Class CustomThresholdsHelper
- java.lang.Object
-
- com.microstrategy.web.app.CustomThresholdsHelper
-
- Direct Known Subclasses:
CustomThresholdsHelperMain
public class CustomThresholdsHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ENUM_TYPE_COLOR
protected static java.lang.String
ENUM_TYPE_IMAGE
protected static java.lang.String
PROP_BACKGROUND_COLOR
protected static java.lang.String
PROP_BANDS
protected static java.lang.String
PROP_COLOR
protected static java.lang.String
PROP_COMBINED_IMAGE_URL
protected static java.lang.String
PROP_END
protected static java.lang.String
PROP_ID
protected static java.lang.String
PROP_IMAGE
protected static java.lang.String
PROP_START
protected static java.lang.String
PROP_TITLE
protected static java.lang.String
PROP_URL
-
Constructor Summary
Constructors Constructor Description CustomThresholdsHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static Block
createThresholdBlock(CustomThresholdsInfo customThresholds)
static java.lang.String
generateCustomThresholdsJSON(AppContext appContext)
protected static void
setUpBlockFactory(java.lang.String blockLibraryLocation)
Sets up the block factory.
-
-
-
Field Detail
-
ENUM_TYPE_COLOR
protected static java.lang.String ENUM_TYPE_COLOR
-
ENUM_TYPE_IMAGE
protected static java.lang.String ENUM_TYPE_IMAGE
-
PROP_COLOR
protected static java.lang.String PROP_COLOR
-
PROP_IMAGE
protected static java.lang.String PROP_IMAGE
-
PROP_ID
protected static java.lang.String PROP_ID
-
PROP_TITLE
protected static java.lang.String PROP_TITLE
-
PROP_COMBINED_IMAGE_URL
protected static java.lang.String PROP_COMBINED_IMAGE_URL
-
PROP_BANDS
protected static java.lang.String PROP_BANDS
-
PROP_START
protected static java.lang.String PROP_START
-
PROP_END
protected static java.lang.String PROP_END
-
PROP_BACKGROUND_COLOR
protected static java.lang.String PROP_BACKGROUND_COLOR
-
PROP_URL
protected static java.lang.String PROP_URL
-
-
Method Detail
-
generateCustomThresholdsJSON
public static java.lang.String generateCustomThresholdsJSON(AppContext appContext)
-
createThresholdBlock
protected static Block createThresholdBlock(CustomThresholdsInfo customThresholds)
-
setUpBlockFactory
protected static void setUpBlockFactory(java.lang.String blockLibraryLocation) throws java.lang.Exception
Sets up the block factory. This method is not called in the#setUp()
method and therefore should be called by the individual tests which needs it.- Throws:
java.lang.Exception
-
-