本文整理汇总了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");
}
示例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();
}
示例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");
}
示例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));
}
});
}
示例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();
}
示例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()));
}
示例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;
}
示例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;
}
示例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"));
}
示例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();
}
示例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();
}
示例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();
}