All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.capitalone.dashboard.repository.SubversionRepoRepository Maven / Gradle / Ivy

There is a newer version: 3.0.2
Show newest version
package com.capitalone.dashboard.repository;

import com.capitalone.dashboard.model.SubversionRepo;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.Query;

import java.util.List;

public interface SubversionRepoRepository extends BaseCollectorItemRepository {

    @Query(value="{ 'collectorId' : ?0, options.url : ?1}")
    SubversionRepo findSubversionRepo(ObjectId collectorId, String url);

    @Query(value="{ 'collectorId' : ?0, enabled: true}")
    List findEnabledSubversionRepos(ObjectId collectorId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy