Package jetbrains.buildServer.artifacts
Interface ArtifactDependencyTargetDirRestrictor
-
- All Superinterfaces:
TeamCityExtension
- All Known Implementing Classes:
AgentBlackListTargetDirRestrictor
,WorkingDirectoryTargetDirRestrictor
public interface ArtifactDependencyTargetDirRestrictor extends TeamCityExtension
An extension allowing to restrict artifact dependency downloading
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
tryGetRestrictedReason(ResolverRuntimeConfiguration config, String targetPath)
-
-
-
Method Detail
-
tryGetRestrictedReason
@Nullable String tryGetRestrictedReason(@NotNull ResolverRuntimeConfiguration config, @NotNull String targetPath) throws IOException
- Parameters:
config
- ResolverRuntimeConfiguration instancetargetPath
- Target directory real (absolute and resolved including links) path- Returns:
- reason why downloading artifact to the target directory is restricted or null if is not restricted
- Throws:
IOException
- any unhandled exception will interrupt artifact dependency download with default reason
-
-