public ProwlSettingsController(
      SBuildServer server, WebControllerManager manager, ProwlConnector prowlConnector) {
    super(server);
    this.prowlConnector = prowlConnector;

    manager.registerController("/tcprowlSettings.html", this);
  }
 public DownloadTorrentController(
     @NotNull WebControllerManager controllerManager,
     @NotNull ServerTorrentsDirectorySeeder torrentsDirectorySeeder,
     @NotNull BuildsManager buildsManager) {
   controllerManager.registerController("/downloadTorrent.html", this);
   myTorrentsManager = torrentsDirectorySeeder;
   myBuildsManager = buildsManager;
 }
  public TCDOPSettingsController(
      @NotNull final SBuildServer server,
      @NotNull final PluginDescriptor pluginDescriptor,
      @NotNull final WebControllerManager manager) {
    super(server);
    this.server = server;
    this.pluginDescriptor = pluginDescriptor;
    this.manager = manager;

    myHtmlPath = pluginDescriptor.getPluginResourcesPath(HTML_PAGE_NAME);
    myJspPath = pluginDescriptor.getPluginResourcesPath(JSP_PAGE_NAME);
    myStylesPath = pluginDescriptor.getPluginResourcesPath(STYLESHEET_NAME);

    manager.registerController(myHtmlPath, this);
  }
  public PromotionResultsFragmentExtension(
      @NotNull final PagePlaces pagePlaces,
      @NotNull final WebControllerManager controllerManager,
      @NotNull final DeployableArtifactoryServers deployableServers,
      @NotNull final SBuildServer buildServer) {
    super(
        pagePlaces,
        PlaceId.BUILD_RESULTS_FRAGMENT,
        ConstantValues.NAME,
        "promotionResultsFragmentExtension.jsp");
    this.buildServer = buildServer;
    controllerManager.registerController(
        "/artifactory/promotion/promotionFragment.html",
        new PromotionResultsFragmentController(buildServer, deployableServers));

    register();
  }
  public ProfileController(
      @NotNull final SBuildServer server,
      @NotNull final PluginDescriptor pluginDescriptor,
      @NotNull final WebControllerManager manager) {
    super(server);

    myResourcePath = pluginDescriptor.getPluginResourcesPath();
    myHtmlPath = pluginDescriptor.getPluginResourcesPath("azure-settings.html");
    myJspPath = pluginDescriptor.getPluginResourcesPath("azure-settings.jsp");
    myManager = new DefaultDeferredManager();
    myHandlers.add(new VmSizesHandler());
    myHandlers.add(new ServicesHandler());
    myHandlers.add(new ImagesHandler());
    myHandlers.add(new NetworksHandler());

    manager.registerController(myHtmlPath, this);
  }
Beispiel #6
0
 public VncPage(
     @NotNull WebControllerManager webControllerManager,
     @NotNull PluginDescriptor pluginDescriptor) {
   this.pluginDescriptor = pluginDescriptor;
   webControllerManager.registerController("/app/no-vnc/vncPage", this);
 }
 public void register() {
   myWebManager.registerController("/slacknotifications/ajaxEdit.html", this);
 }