|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactManager
Common interface for artifact publishers.
Method Summary | |
---|---|
boolean |
publish(BuildLogger buildLogger,
PlanResultKey planResultKey,
java.io.File baseDirectory,
ArtifactDefinitionContext artifact,
boolean deleteSource,
int minExpectedFilesCnt)
Request copy of artifacts from a designated location to artifact storage. |
boolean |
retrieve(PlanResultKey planResultKey,
ArtifactSubscriptionContext artifactSubscription)
Retrieves an artifact from artifact storage. |
Method Detail |
---|
boolean publish(@Nullable BuildLogger buildLogger, @NotNull PlanResultKey planResultKey, @NotNull java.io.File baseDirectory, @NotNull ArtifactDefinitionContext artifact, boolean deleteSource, int minExpectedFilesCnt)
buildLogger
- optional, used to log messagesplanResultKey
- key of a plan result that created the artifactartifact
- definition of the artifactdeleteSource
- true performs move instead of copyminExpectedFilesCnt
- how many files are necessary to consider the artifact complete, null if no requirements are madesize
-
boolean retrieve(@NotNull PlanResultKey planResultKey, @NotNull ArtifactSubscriptionContext artifactSubscription)
planResultKey
- the plan result that contains the artifactartifactSubscription
- the artifact subscription used to identify artifact
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |