当前位置: 首页>>代码示例>>Java>>正文


Java PagePlaces类代码示例

本文整理汇总了Java中jetbrains.buildServer.web.openapi.PagePlaces的典型用法代码示例。如果您正苦于以下问题:Java PagePlaces类的具体用法?Java PagePlaces怎么用?Java PagePlaces使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


PagePlaces类属于jetbrains.buildServer.web.openapi包,在下文中一共展示了PagePlaces类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: MsTeamsNotifierAdminPage

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
protected MsTeamsNotifierAdminPage(@NotNull PagePlaces pagePlaces,
                                 @NotNull PluginDescriptor descriptor,
                                 @NotNull SBuildServer sBuildServer,
                                 @NotNull MsTeamsNotificationMainSettings msteamsMainSettings
                                 ) {
    super(pagePlaces);
    this.sBuildServer = sBuildServer;
    this.msteamsMainSettings = msteamsMainSettings;

    setPluginName(PLUGIN_NAME);
    setIncludeUrl(descriptor.getPluginResourcesPath(PAGE));
    jspHome = descriptor.getPluginResourcesPath();
    setTabTitle(TAB_TITLE);
    ArrayList<String> after = new ArrayList<String>();
    after.add(AFTER_PAGE_ID);
    ArrayList<String> before = new ArrayList<String>();
    before.add(BEFORE_PAGE_ID);
    setPosition(PositionConstraint.between(after, before));
    register();
    Loggers.SERVER.info("MsTeams global configuration page registered");
}
 
开发者ID:spyder007,项目名称:teamcity-msteams-notifier,代码行数:22,代码来源:MsTeamsNotifierAdminPage.java

示例2: BuildScanCrumbSummaryExtension

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public BuildScanCrumbSummaryExtension(
    @NotNull PagePlaces pagePlaces,
    @NotNull PluginDescriptor pluginDescriptor,
    @NotNull SBuildServer buildServer,
    @NotNull BuildScanDisplayArbiter buildScanDisplayArbiter,
    @NotNull BuildScanLookup buildScanLookup
) {
    super(pagePlaces, PlaceId.BUILD_SUMMARY, "buildScan", pluginDescriptor.getPluginResourcesPath("buildScanCrumbSummary.jsp"));
    setPosition(PositionConstraint.last());

    this.buildServer = buildServer;
    this.buildScanDisplayArbiter = buildScanDisplayArbiter;
    this.buildScanLookup = buildScanLookup;

    LOGGER.info(String.format("Registered %s. %s-%s", getClass().getSimpleName(), pluginDescriptor.getPluginName(), pluginDescriptor.getPluginVersion()));
}
 
开发者ID:etiennestuder,项目名称:teamcity-build-scan-plugin,代码行数:17,代码来源:BuildScanCrumbSummaryExtension.java

示例3: YammerAdminPage

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public YammerAdminPage(@NotNull PagePlaces pagePlaces,
                       @NotNull PluginDescriptor descriptor,
                       @NotNull SBuildServer sBuildServer,
                       @NotNull YammerNotificationMainSettings yammerMainSettings
) {
    super(pagePlaces);
    this.sBuildServer = sBuildServer;
    this.yammerMainSettings = yammerMainSettings;
    setPluginName(PLUGIN_NAME);
    setIncludeUrl(descriptor.getPluginResourcesPath(ADMIN_PAGE));
    jspHome = descriptor.getPluginResourcesPath();
    setTabTitle(TAB_TITLE);
    ArrayList<String> after = new ArrayList<String>();
    after.add(AFTER_PAGE_ID);
    ArrayList<String> before = new ArrayList<String>();
    before.add(BEFORE_PAGE_ID);
    setPosition(PositionConstraint.between(after, before));
    register();

}
 
开发者ID:iguissouma,项目名称:teamcity-yammer-notifier,代码行数:21,代码来源:YammerAdminPage.java

示例4: SlackNotifierAdminPage

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
protected SlackNotifierAdminPage(@NotNull PagePlaces pagePlaces,
                                 @NotNull PluginDescriptor descriptor,
                                 @NotNull SBuildServer sBuildServer,
                                 @NotNull SlackNotificationMainSettings slackMainSettings
                                 ) {
    super(pagePlaces);
    this.sBuildServer = sBuildServer;
    this.slackMainSettings = slackMainSettings;

    setPluginName(PLUGIN_NAME);
    setIncludeUrl(descriptor.getPluginResourcesPath(PAGE));
    jspHome = descriptor.getPluginResourcesPath();
    setTabTitle(TAB_TITLE);
    ArrayList<String> after = new ArrayList<String>();
    after.add(AFTER_PAGE_ID);
    ArrayList<String> before = new ArrayList<String>();
    before.add(BEFORE_PAGE_ID);
    setPosition(PositionConstraint.between(after, before));
    register();
    Loggers.SERVER.info("Slack global configuration page registered");
}
 
开发者ID:PeteGoo,项目名称:tcSlackBuildNotifier,代码行数:22,代码来源:SlackNotifierAdminPage.java

示例5: TorrentSettingsAdminPage

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public TorrentSettingsAdminPage(@NotNull PagePlaces pagePlaces,
                                   @NotNull WebControllerManager controllerManager,
                                   @NotNull PluginDescriptor descriptor,
                                   @NotNull TorrentTrackerManager torrentTrackerManager,
                                   @NotNull TorrentConfigurator torrentConfigurator,
                                   @NotNull ServerTorrentsDirectorySeeder torrentSeeder) {
  super(pagePlaces, TAB_ID, descriptor.getPluginResourcesPath("torrentSettings.jsp"), "Torrent Settings");
  myTorrentTrackerManager = torrentTrackerManager;
  myTorrentConfigurator = torrentConfigurator;
  myTorrentSeeder = torrentSeeder;
  register();

  controllerManager.registerController("/admin/torrentSettings.html", new BaseController() {
    @Override
    protected ModelAndView doHandle(@NotNull HttpServletRequest request, @NotNull HttpServletResponse response) throws Exception {
      if (request.getParameter("save") != null) {
        boolean seedingEnabled = request.getParameter("seedingEnabled")!=null;
        boolean downloadEnabled = request.getParameter("downloadEnabled")!=null;
        myTorrentConfigurator.setSeedingEnabled(seedingEnabled);
        myTorrentConfigurator.setDownloadEnabled(downloadEnabled);
        myTorrentConfigurator.persistConfiguration();
      }
      return new ModelAndView(new RedirectView(request.getContextPath() + "/admin/admin.html?item=" + TAB_ID));
    }
  });
}
 
开发者ID:JetBrains,项目名称:teamcity-torrent-plugin,代码行数:27,代码来源:TorrentSettingsAdminPage.java

示例6: BuildCachePage

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public BuildCachePage(PagePlaces pagePlaces, PluginDescriptor descriptor) {
    super(pagePlaces);
    setPluginName(PLUGIN_NAME);
    setIncludeUrl(INCLUDE_URL);
    setTabTitle(TITLE);
    setPosition(PositionConstraint.last());
    addJsFile(descriptor.getPluginResourcesPath("buildCache.js"));
    register();
}
 
开发者ID:rodm,项目名称:teamcity-gradle-build-cache-plugin,代码行数:10,代码来源:BuildCachePage.java

示例7: MsTeamsNotificationBuildTabExtension

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
protected MsTeamsNotificationBuildTabExtension(
           PagePlaces pagePlaces, ProjectManager projectManager,
           ProjectSettingsManager settings, WebControllerManager manager,
           PluginDescriptor pluginDescriptor) {
	//super(myTitle, myTitle, null, projectManager);
	super(SLACK_NOTIFICATIONS, "MsTeams", manager, projectManager);
	this.projSettings = settings;
	myPluginPath = pluginDescriptor.getPluginResourcesPath();
}
 
开发者ID:spyder007,项目名称:teamcity-msteams-notifier,代码行数:10,代码来源:MsTeamsNotificationBuildTabExtension.java

示例8: MsTeamsNotificationProjectTabExtension

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
protected MsTeamsNotificationProjectTabExtension(
           PagePlaces pagePlaces, ProjectManager projectManager,
           ProjectSettingsManager settings, PluginDescriptor pluginDescriptor) {
	super("msteamsNotifications", "MsTeams", pagePlaces, projectManager);
	this.projSettings = settings;
	myPluginPath = pluginDescriptor.getPluginResourcesPath();
}
 
开发者ID:spyder007,项目名称:teamcity-msteams-notifier,代码行数:8,代码来源:MsTeamsNotificationProjectTabExtension.java

示例9: BuildScanViewBuildTab

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public BuildScanViewBuildTab(
    @NotNull PluginDescriptor pluginDescriptor,
    @NotNull SBuildServer buildServer,
    @NotNull PagePlaces pagePlaces,
    @NotNull BuildScanDisplayArbiter buildScanDisplayArbiter,
    @NotNull BuildScanLookup buildScanLookup
) {
    super("Build Scan", "buildScan", pagePlaces, pluginDescriptor.getPluginResourcesPath("/buildScanPage.jsp"), buildServer);
    setPosition(PositionConstraint.last());

    this.buildScanDisplayArbiter = buildScanDisplayArbiter;
    this.buildScanLookup = buildScanLookup;

    LOGGER.info(String.format("Registered %s. %s-%s", getClass().getSimpleName(), pluginDescriptor.getPluginName(), pluginDescriptor.getPluginVersion()));
}
 
开发者ID:etiennestuder,项目名称:teamcity-build-scan-plugin,代码行数:16,代码来源:BuildScanViewBuildTab.java

示例10: TelegramSettingsPage

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public TelegramSettingsPage(@NotNull PagePlaces places,
                            @NotNull PluginDescriptor descriptor,
                            @NotNull TelegramSettingsManager settingsManager) {
  super(places);
  setPluginName(PLUGIN_NAME);
  setTabTitle("Telegram Notifier");
  setIncludeUrl(descriptor.getPluginResourcesPath("telegramSettings.jsp"));
  setPosition(PositionConstraint.after("email", "jabber"));
  register();
  this.settingsManager = settingsManager;
}
 
开发者ID:dancing-elf,项目名称:teamcity-telegram-plugin,代码行数:12,代码来源:TelegramSettingsPage.java

示例11: DebRepoBuildTypeTab

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
protected DebRepoBuildTypeTab(
		PagePlaces pagePlaces, ProjectManager projectManager, SecurityContext securityContext, 
		PluginDescriptor pluginDescriptor, WebControllerManager manager, 
		DebRepositoryConfigurationManager debRepositoryConfigurationManager) {
	super(pluginDescriptor.getPluginName(), TAB_TITLE, manager, projectManager, "debRepository/buildTypeTab.jsp");
	this.myDebRepositoryConfigurationManager = debRepositoryConfigurationManager;
}
 
开发者ID:tcplugins,项目名称:tcDebRepository,代码行数:8,代码来源:DebRepoBuildTypeTab.java

示例12: DebRepoProjectSettingsTab

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public DebRepoProjectSettingsTab(@NotNull PagePlaces pagePlaces, @NotNull PluginDescriptor descriptor,
							  @NotNull DebRepositoryManager debRepositoryManager,
							  @NotNull DebRepositoryConfigurationManager debRepositoryConfigManager,
							  @NotNull PluginDescriptor pluginDescriptor,
							  @NotNull SecurityContext securityContext,
							  @NotNull SBuildServer sBuildServer) {
super(pagePlaces, pluginDescriptor.getPluginName(), "debRepository/projectConfigTab.jsp", TAB_TITLE);
this.myDebRepositoryManager = debRepositoryManager;
this.myDebRepositoryConfigManager = debRepositoryConfigManager;
      this.mySecurityContext = securityContext;
      this.myServer = sBuildServer;
      addCssFile(pluginDescriptor.getPluginResourcesPath("debRepository/css/debRepository.css"));
      addJsFile(pluginDescriptor.getPluginResourcesPath("debRepository/projectConfigSettings.js"));
  }
 
开发者ID:tcplugins,项目名称:tcDebRepository,代码行数:15,代码来源:DebRepoProjectSettingsTab.java

示例13: LoginViaOAuthLoginPageExtension

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public LoginViaOAuthLoginPageExtension(@NotNull final PagePlaces pagePlaces,
                                       @NotNull final PluginDescriptor pluginDescriptor,
                                       @NotNull final AuthenticationSchemeProperties schemeProperties) {
    super(pagePlaces,
            PlaceId.LOGIN_PAGE,
            LoginViaOAuthLoginPageExtension.class.getName(),
            pluginDescriptor.getPluginResourcesPath(PluginConstants.Web.LOGIN_EXTENSION_PAGE));
    this.schemeProperties = schemeProperties;
    register();
}
 
开发者ID:pwielgolaski,项目名称:teamcity-oauth,代码行数:11,代码来源:LoginViaOAuthLoginPageExtension.java

示例14: SymbolServerSettingsTab

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public SymbolServerSettingsTab(@NotNull final PagePlaces pagePlaces,
                               @NotNull final SecurityContext context,
                               @NotNull final PluginDescriptor descriptor) {
  super(pagePlaces,
          PlaceId.ADMIN_SERVER_CONFIGURATION_TAB,
          TAB_ID,
          descriptor.getPluginResourcesPath("symbolServerSettings.jsp"),
          "Symbol Server");
  mySecurityContext = context;
  register();
}
 
开发者ID:JetBrains,项目名称:teamcity-symbol-server,代码行数:12,代码来源:SymbolServerSettingsTab.java

示例15: MyCustomTab

import jetbrains.buildServer.web.openapi.PagePlaces; //导入依赖的package包/类
public MyCustomTab(@NotNull PagePlaces pagePlaces, @NotNull PluginDescriptor descriptor) {
    super(pagePlaces);
    setPluginName("parameterFinder");
    setIncludeUrl(descriptor.getPluginResourcesPath("Hello.jsp"));
    setTabTitle("Parameter Finder");
    setPosition(PositionConstraint.after("clouds", "email", "jabber"));
    register();
}
 
开发者ID:AccusoftCorporation,项目名称:Teamcity-Parameter-Plugin,代码行数:9,代码来源:MyCustomTab.java


注:本文中的jetbrains.buildServer.web.openapi.PagePlaces类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。