public void register(){ myWebManager.registerController("/slacknotifications/index.html", this); }
public void register(){ myWebManager.registerController("/webhooks/testWebHook.html", this); }
public void register(){ myWebManager.registerController("/webhooks/ajaxEdit.html", this); }
public void register(){ myWebManager.registerController("/slacknotifications/ajaxEdit.html", this); }
public void register(){ myWebManager.registerController("/slacknotifications/settingsList.html", this); }
public void register(){ myWebManager.registerController("/webhooks/index.html", this); }
public void register(){ myWebManager.registerController("/webhooks/settingsList.html", this); }
public WebhookTemplateEditPageActionController(@NotNull final WebControllerManager controllerManager) { super(controllerManager); controllerManager.registerController("/admin/webhookTemplateAction.html", this); }
public WebHookRestApiActionController(@NotNull final PluginDescriptor pluginDescriptor, @NotNull final WebControllerManager controllerManager) { super(controllerManager); controllerManager.registerController("/admin/manageWebHooksRestApi.html", this); }
public S3PreSignedUrlController(@NotNull WebControllerManager web, @NotNull RunningBuildsCollection runningBuildsCollection, @NotNull S3PreSignedUrlProvider preSignedUrlProvider, @NotNull ServerArtifactStorageSettingsProvider storageSettingsProvider) { myRunningBuildsCollection = runningBuildsCollection; myPreSignedUrlProvider = preSignedUrlProvider; myStorageSettingsProvider = storageSettingsProvider; web.registerController(ARTEFACTS_S3_UPLOAD_PRESIGN_URLS_HTML, this); }
public SlackNotifierSettingsController(@NotNull SBuildServer server, @NotNull ServerPaths serverPaths, @NotNull WebControllerManager manager, @NotNull SlackNotificationMainConfig config, SlackNotificationPayloadManager payloadManager, PluginDescriptor descriptor){ this.server = server; this.serverPaths = serverPaths; this.manager = manager; this.config = config; this.payloadManager = payloadManager; this.descriptor = descriptor; manager.registerController(CONTROLLER_PATH, this); }
public WebHookHistoryController( @NotNull SBuildServer server, @NotNull PluginDescriptor pluginDescriptor, @NotNull WebControllerManager webControllerManager, @NotNull WebHookHistoryRepository webHookHistoryRepository ) { super(server); this.myPluginPath = pluginDescriptor.getPluginResourcesPath(); this.myWebHookHistoryRepository = webHookHistoryRepository; webControllerManager.registerController(MY_URL, this); }
public BaseReleaseManagementTab(@NotNull WebControllerManager manager, @NotNull ProjectManager projectManager, @NotNull String includeUrl, @NotNull String controllerUrl, @NotNull BaseFormXmlController controller, @NotNull DeployableArtifactoryServers deployableServers) { super(NAME, "Artifactory Release Management", manager, projectManager, includeUrl); this.deployableServers = deployableServers; register(); manager.registerController(controllerUrl, controller); }
public HubBuildFeatureController(@NotNull final PluginDescriptor descriptor, @NotNull final WebControllerManager web) { myDescriptor = descriptor; web.registerController(myDescriptor.getPluginResourcesPath("hubBuildFeatureEdit.html"), this); }
public void register(){ myWebManager.registerController(getUrl(), 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(); }
protected void registerView(@NotNull final String url, @NotNull final String jsp) { viewUrl = pluginDescriptor.getPluginResourcesPath(url); final String actualJsp = pluginDescriptor.getPluginResourcesPath(jsp); webControllerManager.registerController(viewUrl, new BaseController() { @Override protected ModelAndView doHandle(final HttpServletRequest request, final HttpServletResponse response) { final ModelAndView modelAndView = new ModelAndView(actualJsp); modelAndView.getModel().put("controllerUrl", viewUrl); return modelAndView; } }); }
protected void registerView(@NotNull final String url, @NotNull final String jsp) { viewUrl = pluginDescriptor.getPluginResourcesPath(url); final String actualJsp = pluginDescriptor.getPluginResourcesPath(jsp); webControllerManager.registerController(viewUrl, new BaseController() { @Override protected ModelAndView doHandle(HttpServletRequest request, HttpServletResponse response) throws Exception { ModelAndView modelAndView = new ModelAndView(actualJsp); modelAndView.getModel().put("controllerUrl", viewUrl); modelAndView.getModel().put("deployableArtifactoryServers", deployableArtifactoryServers); return modelAndView; } }); }
public S3SettingsController(@NotNull final WebControllerManager manager, @NotNull final PluginDescriptor descriptor, @NotNull final ServerPaths serverPaths) { myServerPaths = serverPaths; final String path = descriptor.getPluginResourcesPath(S3Constants.S3_SETTINGS_PATH + ".html"); manager.registerController(path, this); myHandlers.put("buckets", new BucketsResourceHandler()); myHandlers.put("bucketLocation", new BucketLocationHandler()); }
public ArtifactoryBuildTriggerService(@NotNull final PluginDescriptor descriptor, @NotNull final WebControllerManager wcm, @NotNull final DeployableArtifactoryServers deployableServers) { this.deployableServers = deployableServers; this.watchedItems = HashMultimap.create(); this.watchedItems = Multimaps.synchronizedMultimap(watchedItems); actualUrl = descriptor.getPluginResourcesPath("editArtifactoryTrigger.html"); final String actualJsp = descriptor.getPluginResourcesPath("editArtifactoryTrigger.jsp"); wcm.registerController(actualUrl, new EditArtifactoryTriggerController(actualUrl, actualJsp, deployableServers)); }