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.StringENUM_TYPE_COLORprotected static java.lang.StringENUM_TYPE_IMAGEprotected static java.lang.StringPROP_BACKGROUND_COLORprotected static java.lang.StringPROP_BANDSprotected static java.lang.StringPROP_COLORprotected static java.lang.StringPROP_COMBINED_IMAGE_URLprotected static java.lang.StringPROP_ENDprotected static java.lang.StringPROP_IDprotected static java.lang.StringPROP_IMAGEprotected static java.lang.StringPROP_STARTprotected static java.lang.StringPROP_TITLEprotected static java.lang.StringPROP_URL
-
Constructor Summary
Constructors Constructor Description CustomThresholdsHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static BlockcreateThresholdBlock(CustomThresholdsInfo customThresholds)static java.lang.StringgenerateCustomThresholdsJSON(AppContext appContext)protected static voidsetUpBlockFactory(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.ExceptionSets 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
-
-