public static DatasourceDependencyBuilder redisDependency ( final List < Datasource > datasources ) { return new DatasourceDependencyBuilder ( ) . withDatasources ( datasources ) . withType ( DatasourceDependency . TYPE_DB ) . withSubtype ( DatasourceDependency . SUBTYPE_REDIS ) ; }
Creates a ServiceDependencyBuilder with type = db and subtype = Redis .