jetbrains.buildServer.agent.server
Interface FileManagerExtensionHolder


public interface FileManagerExtensionHolder

Represents the agent-side file manager extension holder. Extensions can be added along with the id, or root that defines what paths can be handled by the extension. The root should start with a '#'.

Since:
6.0
Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)

Method Summary
 void addHandler(java.lang.String root, CustomFileHandler handler)
          Adds the custom handler
 void removeHandler(java.lang.String root)
          Removes the custom handler
 

Method Detail

addHandler

void addHandler(@NotNull
                java.lang.String root,
                @NotNull
                CustomFileHandler handler)
Adds the custom handler

Parameters:
root - the root (should start with a '#')
handler - the handler

removeHandler

void removeHandler(@NotNull
                   java.lang.String root)
Removes the custom handler

Parameters:
root - the root