public interface TaskDefinitionRepository extends org.springframework.data.repository.PagingAndSortingRepository<TaskDefinition,String>
TaskDefinition
s.Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.Page<TaskDefinition> |
findByNameLike(SearchPageable searchPageable) |
TaskDefinition |
findByNameRequired(String name)
Performs a findByName query and throws an exception if the name is not found.
|
org.springframework.data.domain.Page<TaskDefinition> findByNameLike(SearchPageable searchPageable)
TaskDefinition findByNameRequired(String name)
name
- the name of the task definitionNoSuchTaskDefinitionException
if not found.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.