returns true , if this config is valid . concode_field_sep String apiKey concode_elem_sep String apiKey2 concode_elem_sep ProviderName providerName concode_field_sep void setProviderName concode_elem_sep String getApiKey concode_elem_sep String getApiKey2 concode_elem_sep ProviderName getProviderName concode_elem_sep void setApiKey concode_elem_sep String toString concode_elem_sep void setApiKey2
boolean function ( ) { return providerName != null && apiKey != null && ( providerName != ProviderName . HAMWEATHER || ( providerName == ProviderName . HAMWEATHER && apiKey2 != null ) ) ; }