Class MaxSizeInternalBuildCachePublishingPrecondition
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.artifacts.MaxSizeInternalBuildCachePublishingPrecondition
-
- All Implemented Interfaces:
AgentExtension
,ArtifactsPublishingPrecondition
,TeamCityExtension
public class MaxSizeInternalBuildCachePublishingPrecondition extends Object implements ArtifactsPublishingPrecondition
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
MUST_NOT_REPEAT
static boolean
MUST_REPEAT
static String
TEAMCITY_LIMIT_BUILD_CACHE_SIZE_ENABLED
-
Constructor Summary
Constructors Constructor Description MaxSizeInternalBuildCachePublishingPrecondition(UploadArtifactsOptions uploadArtifactsOptions, EventDispatcher<AgentLifeCycleListener> eventDispatcher)
-
-
-
Field Detail
-
TEAMCITY_LIMIT_BUILD_CACHE_SIZE_ENABLED
public static final String TEAMCITY_LIMIT_BUILD_CACHE_SIZE_ENABLED
- See Also:
- Constant Field Values
-
MUST_REPEAT
public static final boolean MUST_REPEAT
- See Also:
- Constant Field Values
-
MUST_NOT_REPEAT
public static final boolean MUST_NOT_REPEAT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MaxSizeInternalBuildCachePublishingPrecondition
public MaxSizeInternalBuildCachePublishingPrecondition(@NotNull UploadArtifactsOptions uploadArtifactsOptions, @NotNull EventDispatcher<AgentLifeCycleListener> eventDispatcher)
-
-
Method Detail
-
checkPrecondition
public void checkPrecondition(@NotNull Map<File,String> files) throws ArtifactPublishingFailedException
- Specified by:
checkPrecondition
in interfaceArtifactsPublishingPrecondition
- Throws:
ArtifactPublishingFailedException
-
-