public boolean hasDirectConfigDependencyOn ( BuildTask buildTask ) { if ( buildTask == null || this . equals ( buildTask ) ) { return false ; } BuildConfiguration buildConfiguration = buildConfigurationAudited . getBuildConfiguration ( ) ; if ( buildConfiguration == null || buildConfiguration . getDependencies ( ) == null ) { return false ; } return buildConfiguration . getDependencies ( ) . contains ( buildTask . getBuildConfigurationAudited ( ) . getBuildConfiguration ( ) ) ; }
Check if this build task has a direct build configuration dependency on the given build task