• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java PositionConstraint类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: MsTeamsNotifierAdminPage

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

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


示例6: BuildScanViewBuildTab

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


示例7: HubGlobalServerConfigTab

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


示例8: TelegramSettingsPage

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


示例9: GlobalServerConfigTab

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


示例10: MyCustomTab

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


示例11: SlackAdminPage

import jetbrains.buildServer.web.openapi.PositionConstraint; //导入依赖的package包/类
public SlackAdminPage(PagePlaces pagePlaces, PluginDescriptor descriptor , SlackConfigProcessor configProcessor) {
    super(pagePlaces);
    setPluginName("slackNotifier");
    setIncludeUrl(descriptor.getPluginResourcesPath("/admin/slackAdminPage.jsp"));
    setTabTitle("Slack Notifier");
    setPosition(PositionConstraint.after("clouds", "email", "jabber"));
    register();

    this.configProcesser = configProcessor ;
}
 
开发者ID:Tapadoo,项目名称:TCSlackNotifierPlugin,代码行数:11,代码来源:SlackAdminPage.java


示例12: AdminPageExtension

import jetbrains.buildServer.web.openapi.PositionConstraint; //导入依赖的package包/类
protected AdminPageExtension(@NotNull PagePlaces pagePlaces) {
    super(pagePlaces, PLUGIN_NAME, PAGE, PLUGIN_NAME);

    setPosition(PositionConstraint.between(Lists.newArrayList(AFTER_PAGE_ID), Lists.newArrayList(BEFORE_PAGE_ID)));
    register();
}
 
开发者ID:it-committed,项目名称:glip-notificator,代码行数:7,代码来源:AdminPageExtension.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java AppendResponseProto类代码示例发布时间:2022-05-22
下一篇:
Java ChRootedFileSystem类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap