Class AllowedExternalArtifactPathRegistryImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.artifacts.AllowedExternalArtifactPathRegistryImpl
-
- All Implemented Interfaces:
AgentExtension
,AllowedExternalArtifactPathRegistry
,TeamCityExtension
public class AllowedExternalArtifactPathRegistryImpl extends Object implements AllowedExternalArtifactPathRegistry
-
-
Constructor Summary
Constructors Constructor Description AllowedExternalArtifactPathRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
pathAllowed(String targetPath)
Whether or not artifact path is allowed to be published to external artifact storagevoid
registerPath(String pathOnServer)
Register target path prefix (artifact path on server) for artifacts that are allowed to be published to external storages
-
-
-
Method Detail
-
registerPath
public void registerPath(@NotNull String pathOnServer)
Description copied from interface:AllowedExternalArtifactPathRegistry
Register target path prefix (artifact path on server) for artifacts that are allowed to be published to external storages- Specified by:
registerPath
in interfaceAllowedExternalArtifactPathRegistry
- Parameters:
pathOnServer
- Prefix for target artifact path on server
-
pathAllowed
public boolean pathAllowed(@NotNull String targetPath)
Description copied from interface:AllowedExternalArtifactPathRegistry
Whether or not artifact path is allowed to be published to external artifact storage- Specified by:
pathAllowed
in interfaceAllowedExternalArtifactPathRegistry
- Parameters:
targetPath
- artifact path on server- Returns:
- true if artifact is allowed to be published to external storage
-
-