src/main/java/com/awslabs/aws/greengrass/provisioner/AwsGreengrassProvisionerModule.java
@Provides
    @ElementsIntoSet
    public Set<DiagnosticRule> provideDiagnosticRules(TooManyIpsDiagnosticRule tooManyIpsDiagnosticRule,
                                                      NoConnectivityInformationDiagnosticRule noConnectivityInformationDiagnosticRule,
                                                      MissingRuntimeWithTextErrorDiagnosticRule1 missingRuntimeWithTextErrorDiagnosticRule1,
                                                      MissingRuntimeWithJsonErrorDiagnosticRule1 missingRuntimeWithJsonErrorDiagnosticRule1,
                                                      MissingRuntimeWithJsonErrorDiagnosticRule2 missingRuntimeWithJsonErrorDiagnosticRule2,
                                                      FunctionTimingOutDiagnosticRule functionTimingOutDiagnosticRule,
                                                      FunctionTimedOutDiagnosticRule functionTimedOutDiagnosticRule) {
        return new HashSet<>(Arrays.asList(tooManyIpsDiagnosticRule,
                noConnectivityInformationDiagnosticRule,
                missingRuntimeWithTextErrorDiagnosticRule1,
                missingRuntimeWithJsonErrorDiagnosticRule1,
                missingRuntimeWithJsonErrorDiagnosticRule2,
                functionTimingOutDiagnosticRule,
                functionTimedOutDiagnosticRule
        ));
    }
// Diagnostic rules used in the diagnostic helper
Diagnostic rules used in the diagnostic helper
Diagnostic rules used in the diagnostic helper
@Provides
    @ElementsIntoSet
    public Set<DiagnosticRule> provideDiagnosticRules(TooManyIpsDiagnosticRule tooManyIpsDiagnosticRule,
                                                      NoConnectivityInformationDiagnosticRule noConnectivityInformationDiagnosticRule,
                                                      MissingRuntimeWithTextErrorDiagnosticRule1 missingRuntimeWithTextErrorDiagnosticRule1,
                                                      MissingRuntimeWithJsonErrorDiagnosticRule1 missingRuntimeWithJsonErrorDiagnosticRule1,
                                                      MissingRuntimeWithJsonErrorDiagnosticRule2 missingRuntimeWithJsonErrorDiagnosticRule2,
                                                      FunctionTimingOutDiagnosticRule functionTimingOutDiagnosticRule,
                                                      FunctionTimedOutDiagnosticRule functionTimedOutDiagnosticRule) {
        return new HashSet<>(Arrays.asList(tooManyIpsDiagnosticRule,
                noConnectivityInformationDiagnosticRule,
                missingRuntimeWithTextErrorDiagnosticRule1,
                missingRuntimeWithJsonErrorDiagnosticRule1,
                missingRuntimeWithJsonErrorDiagnosticRule2,
                functionTimingOutDiagnosticRule,
                functionTimedOutDiagnosticRule
        ));
    }
@ Provides @ ElementsIntoSet public Set < DiagnosticRule > provideDiagnosticRules ( TooManyIpsDiagnosticRule tooManyIpsDiagnosticRule , NoConnectivityInformationDiagnosticRule noConnectivityInformationDiagnosticRule , MissingRuntimeWithTextErrorDiagnosticRule1 missingRuntimeWithTextErrorDiagnosticRule1 , MissingRuntimeWithJsonErrorDiagnosticRule1 missingRuntimeWithJsonErrorDiagnosticRule1 , MissingRuntimeWithJsonErrorDiagnosticRule2 missingRuntimeWithJsonErrorDiagnosticRule2 , FunctionTimingOutDiagnosticRule functionTimingOutDiagnosticRule , FunctionTimedOutDiagnosticRule functionTimedOutDiagnosticRule ) { return new HashSet < > ( Arrays . asList ( tooManyIpsDiagnosticRule , noConnectivityInformationDiagnosticRule , missingRuntimeWithTextErrorDiagnosticRule1 , missingRuntimeWithJsonErrorDiagnosticRule1 , missingRuntimeWithJsonErrorDiagnosticRule2 , functionTimingOutDiagnosticRule , functionTimedOutDiagnosticRule ) ) ; }
Diagnostic rules used in the diagnostic helper
Diagnostic rules used in the diagnostic helper