|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactDefinitionDao
Method Summary | |
---|---|
java.util.Collection<? extends ArtifactDefinition> |
findAll()
Find all artifact definitions |
ArtifactDefinition |
findById(long id)
Get artifact definition of specified id |
ArtifactDefinition |
findByName(Plan plan,
java.lang.String name)
Find artifact definition of a given name associated with a producer job. |
ArtifactDefinition |
findByNameInChain(Chain chain,
java.lang.String name)
Find artifact definition of a given name which has sharedArtifact property set to true, associated with a producer job that belongs to the chain. |
java.util.List<ArtifactDefinition> |
findByProducer(ImmutablePlan plan)
Get list of artifact definitions associated with a plan |
void |
removeByProducer(Plan plan)
Remove all artifact definitions associated with a plan. |
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao |
---|
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll |
Method Detail |
---|
@Nullable ArtifactDefinition findById(long id)
id
- id of artifact definition
@Nullable ArtifactDefinition findByName(@NotNull Plan plan, @NotNull java.lang.String name)
plan
- plan which associated artifact definition should be retrievedname
- name to search among plan's artifact definitions
@Nullable ArtifactDefinition findByNameInChain(@NotNull Chain chain, @NotNull java.lang.String name)
chain
- chain which associated artifact definition should be retrievedname
- name to search among plan's artifact definitions
@NotNull java.util.Collection<? extends ArtifactDefinition> findAll()
@NotNull java.util.List<ArtifactDefinition> findByProducer(@NotNull ImmutablePlan plan)
plan
- plan which associated artifact definitions should be retrieved
void removeByProducer(@NotNull Plan plan)
plan
- plan which associated artifact definitions should be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |