public boolean shouldBeProcessed(final ProfileSettings profileSettings) {

        if (profileSettings != null) {

            String propertyName = GetterUtilities.getFullQualifiedFieldName(baseType, method);
            Boolean shouldBeProcessed = profileSettings.getPropertyValue(propertyName);
            if (shouldBeProcessed == null) {
                propertyName = baseType.getCanonicalName() + "." + method.getName();
                shouldBeProcessed = profileSettings.getPropertyValue(propertyName);
            }
            if (shouldBeProcessed == null && annotation != null) {
                shouldBeProcessed = annotation.enabledPerDefault();
            }

            if (shouldBeProcessed != null) {
                return shouldBeProcessed;
            }
        }

        return true;

    }
public boolean shouldBeProcessed(final ProfileSettings profileSettings) {

        if (profileSettings != null) {

            String propertyName = GetterUtilities.getFullQualifiedFieldName(baseType, method);
            Boolean shouldBeProcessed = profileSettings.getPropertyValue(propertyName);
            if (shouldBeProcessed == null) {
                propertyName = baseType.getCanonicalName() + "." + method.getName();
                shouldBeProcessed = profileSettings.getPropertyValue(propertyName);
            }
            if (shouldBeProcessed == null && annotation != null) {
                shouldBeProcessed = annotation.enabledPerDefault();
            }

            if (shouldBeProcessed != null) {
                return shouldBeProcessed;
            }
        }

        return true;

    }
public boolean shouldBeProcessed ( final ProfileSettings profileSettings ) { if ( profileSettings != null ) { String propertyName = GetterUtilities . getFullQualifiedFieldName ( baseType , method ) ; Boolean shouldBeProcessed = profileSettings . getPropertyValue ( propertyName ) ; if ( shouldBeProcessed == null ) { propertyName = baseType . getCanonicalName ( ) + "." + method . getName ( ) ; shouldBeProcessed = profileSettings . getPropertyValue ( propertyName ) ; } if ( shouldBeProcessed == null && annotation != null ) { shouldBeProcessed = annotation . enabledPerDefault ( ) ; } if ( shouldBeProcessed != null ) { return shouldBeProcessed ; } } return true ; }
Determines if a method should be processed. This will either be if no
{@link io.tracee.contextlogger.contextprovider.api.TraceeContextProviderMethod} annotation
is present or if an empty property name is defined in the annotation or if passed profileSettings are null
or if the property name is disabled in the {@link io.tracee.contextlogger.profile.ProfileSettings}.

@param profileSettings The profile sttings object which should be used to check against.
@return true if the result of the method should be processed, otherwise false.
Determines if a method should be processed . This will either be if no { @link io . tracee . contextlogger . contextprovider . api . TraceeContextProviderMethod } annotation is present or if an empty property name is defined in the annotation or if passed profileSettings are null or if the property name is disabled in the { @link io . tracee . contextlogger . profile . ProfileSettings } .