Interface JobArtifactRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<JobArtifact, Long>, org.springframework.data.jpa.repository.JpaRepository<JobArtifact, Long>, org.springframework.data.repository.ListCrudRepository<JobArtifact, Long>, org.springframework.data.repository.ListPagingAndSortingRepository<JobArtifact, Long>, org.springframework.data.repository.PagingAndSortingRepository<JobArtifact, Long>, org.springframework.data.repository.query.QueryByExampleExecutor<JobArtifact>, org.springframework.data.repository.Repository<JobArtifact, Long>
@Repository
public interface JobArtifactRepository
extends org.springframework.data.jpa.repository.JpaRepository<JobArtifact, Long>
Data-access layer for job artifact metadata.
- Version:
- 3.0.6
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptionfindByActionExecutionExecutionIdOrderByIdAsc(String executionId) Finds artifact metadata belonging to an action execution.findByArtifactId(String artifactId) Finds artifact metadata by its public identifier.findByJobJobIdOrderByIdAsc(String jobId) Finds artifact metadata belonging to a job attempt.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByArtifactId
Finds artifact metadata by its public identifier.- Parameters:
artifactId- public artifact identifier- Returns:
- matching artifact
-
findByJobJobIdOrderByIdAsc
Finds artifact metadata belonging to a job attempt.- Parameters:
jobId- public job identifier- Returns:
- ordered artifacts
-
findByActionExecutionExecutionIdOrderByIdAsc
Finds artifact metadata belonging to an action execution.- Parameters:
executionId- public execution identifier- Returns:
- ordered artifacts
-