public Boolean getPropertyValue ( final String propertyKey ) { if ( propertyKey == null ) { return null ; } // check system property override if ( toTraceeContextStringRepresentationBuilder != null && toTraceeContextStringRepresentationBuilder . getManualContextOverrides ( ) != null ) { Boolean manualOverrideCheck = toTraceeContextStringRepresentationBuilder . getManualContextOverrides ( ) . get ( propertyKey ) ; if ( manualOverrideCheck != null ) { return manualOverrideCheck ; } } // check profile properties if ( profileProperties != null ) { String value = profileProperties . getProperty ( propertyKey ) ; if ( value != null ) { return Boolean . valueOf ( value ) ; } } return null ; }
Checks whether the property for the passed key is enabled or not .