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