private String getBandanaValue( BandanaContext bandanaContext, ConfigurationOption configurationOption) { Object fromBandana = bandanaManager.getValue(bandanaContext, configurationOption.getBandanaKey()); if (fromBandana == null) { return ""; } return fromBandana.toString(); }
private void setGlobalValue(ConfigurationOption option, String webhookUrl) { bandanaManager.setValue(GLOBAL_CONTEXT, option.getBandanaKey(), webhookUrl); }