public static ConfigDef . Recommender visibleIf ( String configKey , Object value ) { return new VisibleIfRecommender ( configKey , value , ValidValuesCallback . EMPTY ) ; }
Method is used to return a recommender that will mark a ConfigItem as visible if the configKey is set to the specified value .