Package jetbrains.buildServer.agent
Interface AllowedExternalArtifactPathRegistry
-
- All Superinterfaces:
AgentExtension
,TeamCityExtension
- All Known Implementing Classes:
AllowedExternalArtifactPathRegistryImpl
public interface AllowedExternalArtifactPathRegistry extends AgentExtension
- Since:
- 2020.2
-
-
Method Summary
All Methods Instance Methods Abstract 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
void registerPath(@NotNull String pathOnServer)
Register target path prefix (artifact path on server) for artifacts that are allowed to be published to external storages- Parameters:
pathOnServer
- Prefix for target artifact path on server
-
pathAllowed
boolean pathAllowed(@NotNull String targetPath)
Whether or not artifact path is allowed to be published to external artifact storage- Parameters:
targetPath
- artifact path on server- Returns:
- true if artifact is allowed to be published to external storage
-
-