Interface AllowedExternalArtifactPathRegistry

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean pathAllowed​(java.lang.String targetPath)
      Whether or not artifact path is allowed to be published to external artifact storage
      void registerPath​(java.lang.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
                          java.lang.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
                            java.lang.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