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 booleanpathAllowed(String targetPath)Whether or not artifact path is allowed to be published to external artifact storagevoidregisterPath(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:AllowedExternalArtifactPathRegistryRegister target path prefix (artifact path on server) for artifacts that are allowed to be published to external storages- Specified by:
registerPathin interfaceAllowedExternalArtifactPathRegistry- Parameters:
pathOnServer- Prefix for target artifact path on server
-
pathAllowed
public boolean pathAllowed(@NotNull String targetPath)Description copied from interface:AllowedExternalArtifactPathRegistryWhether or not artifact path is allowed to be published to external artifact storage- Specified by:
pathAllowedin interfaceAllowedExternalArtifactPathRegistry- Parameters:
targetPath- artifact path on server- Returns:
- true if artifact is allowed to be published to external storage
-
-