|
||||||||||
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)
Deprecated. since 3.3 use retrieve(PlanResultKey, ArtifactSubscriptionContext, File) |
boolean |
retrieve(PlanResultKey planResultKey,
ArtifactSubscriptionContext artifactSubscription,
java.io.File buildWorkingDirectory)
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
-
@Deprecated boolean retrieve(@NotNull PlanResultKey planResultKey, @NotNull ArtifactSubscriptionContext artifactSubscription)
retrieve(PlanResultKey, ArtifactSubscriptionContext, File)
planResultKey
- the plan result that contains the artifactartifactSubscription
- the artifact subscription used to identify artifact
boolean retrieve(@NotNull PlanResultKey planResultKey, @NotNull ArtifactSubscriptionContext artifactSubscription, @NotNull java.io.File buildWorkingDirectory)
planResultKey
- the plan result that contains the artifactartifactSubscription
- the artifact subscription used to identify artifactbuildWorkingDirectory
- working directory of current build
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |