@Repository public class AttackRepository extends AbstractElasticRepository
Constructor and Description |
---|
AttackRepository() |
Modifier and Type | Method and Description |
---|---|
List<Attack> |
findAttacksBySearchCriteria(SearchCriteria criteria) |
protected String |
getElasticIndexType() |
void |
save(Attack attack) |
convertSearchCriteriaToQueryBuilder, findBySearchCriteria, generateCommonElasticMappingForType, getClient, getIndexName, getObjectMapper, save, shutDownRepository
public void save(Attack attack) throws com.fasterxml.jackson.core.JsonProcessingException
public List<Attack> findAttacksBySearchCriteria(SearchCriteria criteria) throws IOException
protected String getElasticIndexType()
Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.