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


Java PlaceId类代码示例

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


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

示例1: BuildScanCrumbSummaryExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的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

示例2: UserTelegramSettingsExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public UserTelegramSettingsExtension(@NotNull WebControllerManager manager,
                                     @NotNull NotificationRulesManager rulesManager,
                                     @NotNull UserModel userModel,
                                     @NotNull PluginDescriptor descriptor,
                                     @NotNull TelegramSettingsManager settingsManager) {
  super(manager);
  this.rulesManager = rulesManager;
  this.userModel = userModel;
  this.settingsManager = settingsManager;

  setPluginName(TelegramSettingsPage.PLUGIN_NAME);
  setIncludeUrl(descriptor.getPluginResourcesPath("userTelegramSettings.jsp"));
  // This extension required by two places. Don't looks clear
  // but works...
  setPlaceId(PlaceId.NOTIFIER_SETTINGS_FRAGMENT);
  register();
  setPlaceId(PlaceId.MY_SETTINGS_NOTIFIER_SECTION);
  register();
}
 
开发者ID:dancing-elf,项目名称:teamcity-telegram-plugin,代码行数:20,代码来源:UserTelegramSettingsExtension.java

示例3: HubGlobalServerConfigTab

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public HubGlobalServerConfigTab(@NotNull final WebControllerManager controllerManager,
        @NotNull final HubServerListener codecenterListener) {
    super(controllerManager, PlaceId.ADMIN_SERVER_CONFIGURATION_TAB, "hub", "hubGlobalServerConfigTab.jsp", "Hub");
    setPosition(PositionConstraint.after("serverConfigGeneral"));
    register();

    configPersistenceManager = codecenterListener.getConfigManager();
    controllerManager.registerController("/admin/hub/serverHubConfigTab.html",
            new HubGlobalServerConfigController(configPersistenceManager));
}
 
开发者ID:blackducksoftware,项目名称:hub-teamcity,代码行数:11,代码来源:HubGlobalServerConfigTab.java

示例4: LoginViaOAuthLoginPageExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的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

示例5: SymbolServerSettingsTab

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的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

示例6: GlobalServerConfigTab

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public GlobalServerConfigTab(final @NotNull WebControllerManager controllerManager,
                                        final @NotNull SecurityContext securityContext,
                                        final @NotNull ServerListener serverListener) {
    super(controllerManager, PlaceId.ADMIN_SERVER_CONFIGURATION_TAB, TAB_ID,
            "globalServerConfigTab.jsp",
            "Automate Website");
    this.securityContext = securityContext;
    this.configPersistenceManager = serverListener.getConfigModel();

    setPosition(PositionConstraint.after("serverConfigGeneral"));
    register();

    controllerManager.registerController("/admin/automate-website/globalServerConfigTab.html",
            new GlobalServerConfigController(configPersistenceManager));
}
 
开发者ID:automate-website,项目名称:teamcity-plugin,代码行数:16,代码来源:GlobalServerConfigTab.java

示例7: BuildSummaryLinkExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public BuildSummaryLinkExtension(@NotNull final WebControllerManager manager,
                                 @NotNull final PluginDescriptor pluginDescriptor,
                                 @NotNull final SBuildServer server) {
    super(manager, PlaceId.BUILD_SUMMARY, pluginDescriptor.getPluginName(), "buildSummary.jsp");
    myServer = server;
    register();
}
 
开发者ID:JetBrains,项目名称:TeamCity.SonarQubePlugin,代码行数:8,代码来源:BuildSummaryLinkExtension.java

示例8: Piazza

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public Piazza(SBuildServer server, ProjectManager projectManager, ProjectSettingsManager projectSettingsManager, WebControllerManager webControllerManager,
              PluginDescriptor pluginDescriptor, UserModel userManager, SecurityContext securityContext, PiazzaConfiguration piazzaConfiguration) {
    this.pluginDescriptor = pluginDescriptor;
    this.securityContext = securityContext;
    guestUser = userManager.getGuestUser();

    this.piazzaConfiguration = piazzaConfiguration;
    this.piazzaUserAdapter = new PiazzaUserAdapter(server, userManager, piazzaConfiguration);

    webControllerManager.registerController(PATH, new BuildMonitorController(server, projectManager, projectSettingsManager, this));
    webControllerManager.getPlaceById(PlaceId.ALL_PAGES_FOOTER).addExtension(new PiazzaLinkPageExtension(this));
}
 
开发者ID:timomeinen,项目名称:team-piazza,代码行数:13,代码来源:Piazza.java

示例9: BuildResultsExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public BuildResultsExtension(@NotNull PagePlaces pagePlaces, @NotNull PluginDescriptor pluginDescriptor) {
  super(pagePlaces);
  setIncludeUrl(pluginDescriptor.getPluginResourcesPath("buildResults.jsp"));
  setPlaceId(PlaceId.ALL_PAGES_FOOTER);
  setPluginName(pluginDescriptor.getPluginName());
  register();
}
 
开发者ID:JetBrains,项目名称:build-chain-export,代码行数:8,代码来源:BuildResultsExtension.java

示例10: BuildTypeExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public BuildTypeExtension(@NotNull PagePlaces pagePlaces, @NotNull PluginDescriptor pluginDescriptor) {
  super(pagePlaces);
  setIncludeUrl(pluginDescriptor.getPluginResourcesPath("buildType.jsp"));
  setPlaceId(PlaceId.ALL_PAGES_FOOTER);
  setPluginName(pluginDescriptor.getPluginName());
  register();
}
 
开发者ID:JetBrains,项目名称:build-chain-export,代码行数:8,代码来源:BuildTypeExtension.java

示例11: MyAchievementsTab

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public MyAchievementsTab(@NotNull PagePlaces pagePlaces, @NotNull PluginDescriptor pluginDescriptor, @NotNull AchievementsGrantor achievementsGrantor, @NotNull AchievementsConfig achievementsConfig) {
  super(pagePlaces);
  setPluginName(pluginDescriptor.getPluginName());
  setPlaceId(PlaceId.MY_TOOLS_TABS);
  setIncludeUrl(pluginDescriptor.getPluginResourcesPath("/myAchievements.jsp"));
  setTabTitle(TAB_TITLE);
  register();

  myAchievementsConfig = achievementsConfig;
  myAchievementsGrantor = achievementsGrantor;
}
 
开发者ID:JetBrains,项目名称:teamcity-achievements,代码行数:12,代码来源:MyAchievementsTab.java

示例12: AchievementsLoaderPageExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public AchievementsLoaderPageExtension(@NotNull PagePlaces pagePlaces,
                                       @NotNull PluginDescriptor pluginDescriptor,
                                       @NotNull AchievementsGrantor achievementsGrantor) {
  super(pagePlaces);
  myAchievementsGrantor = achievementsGrantor;
  setPluginName(pluginDescriptor.getPluginName());
  setPlaceId(PlaceId.BEFORE_CONTENT);
  setIncludeUrl(pluginDescriptor.getPluginResourcesPath("/achievementsLoader.jsp"));
  addCssFile(pluginDescriptor.getPluginResourcesPath("/achievements.css"));
  register();
}
 
开发者ID:JetBrains,项目名称:teamcity-achievements,代码行数:12,代码来源:AchievementsLoaderPageExtension.java

示例13: VSONotifierMySettingsPageExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public VSONotifierMySettingsPageExtension(@NotNull WebControllerManager manager,
                                          @NotNull NotificationRulesManager rulesManager,
                                          @NotNull UserModel userModel,
                                          @NotNull PluginDescriptor pluginDescriptor,
                                          @NotNull VSONotificatorConfigHolder configHolder) {
  super(manager);
  myRulesManager = rulesManager;
  myUserModel = userModel;
  myConfig = configHolder.getConfig();

  setPluginName(Constants.NOTIFICATOR_TYPE);
  setIncludeUrl(pluginDescriptor.getPluginResourcesPath("viewUserSettings.jsp"));
  setPlaceId(PlaceId.MY_SETTINGS_NOTIFIER_SECTION);
  register();
}
 
开发者ID:JetBrains,项目名称:tc-vso-rooms,代码行数:16,代码来源:VSONotifierMySettingsPageExtension.java

示例14: VSONotifierSettingsPageExtension

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public VSONotifierSettingsPageExtension(@NotNull WebControllerManager web,
                                        @NotNull UserModel userModel,
                                        @NotNull PluginDescriptor pluginDescriptor) {
  super(web);
  myUserModel = userModel;

  setPluginName(Constants.NOTIFICATOR_TYPE);
  setIncludeUrl(pluginDescriptor.getPluginResourcesPath("editUserSettings.jsp"));
  setPlaceId(PlaceId.NOTIFIER_SETTINGS_FRAGMENT);
  register();

  web.registerController("/vso/userSettings.html", new EditUserSettingsController());
}
 
开发者ID:JetBrains,项目名称:tc-vso-rooms,代码行数:14,代码来源:VSONotifierSettingsPageExtension.java

示例15: Piazza

import jetbrains.buildServer.web.openapi.PlaceId; //导入依赖的package包/类
public Piazza(SBuildServer server, ProjectManager projectManager, ProjectSettingsManager projectSettingsManager, WebControllerManager webControllerManager,
        PluginDescriptor pluginDescriptor, UserModel userManager, SecurityContext securityContext, PiazzaConfiguration piazzaConfiguration) {
    this.pluginDescriptor = pluginDescriptor;
    this.securityContext = securityContext;
    guestUser = userManager.getGuestUser();

    this.piazzaConfiguration = piazzaConfiguration;
    this.piazzaUserAdapter = new PiazzaUserAdapter(server, userManager);

    webControllerManager.registerController(PATH, new BuildMonitorController(server, projectManager, projectSettingsManager, this));
    webControllerManager.getPlaceById(PlaceId.ALL_PAGES_FOOTER).addExtension(new PiazzaLinkPageExtension(this));
}
 
开发者ID:mironych,项目名称:Team-Piazza,代码行数:13,代码来源:Piazza.java


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