public class DBJobDefinitionService extends PaginatedDbService<JobDefinitionDto>
db| Constructor and Description |
|---|
DBJobDefinitionService(MongoConnection mongoConnection,
MongoJackObjectMapperProvider mapper) |
| Modifier and Type | Method and Description |
|---|---|
PaginatedList<JobDefinitionDto> |
getAllPaginated(String sortByField,
int page,
int perPage) |
Optional<JobDefinitionDto> |
getByConfigField(String configField,
Object value)
Returns the job definition that has the given config field value.
|
delete, findPaginatedWithQueryAndSort, findPaginatedWithQueryFilterAndSort, get, getSortBuilder, save, streamAll, streamByIds, streamQuery, streamQueryWithSort@Inject public DBJobDefinitionService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper)
public PaginatedList<JobDefinitionDto> getAllPaginated(String sortByField, int page, int perPage)
public Optional<JobDefinitionDto> getByConfigField(String configField, Object value)
configField - the config fieldvalue - the value of the config fieldCopyright © 2012–2020 Graylog, Inc.. All rights reserved.