Tabnine Logo
PositionConstraint
Code IndexAdd Tabnine to your IDE (free)

How to use
PositionConstraint
in
jetbrains.buildServer.web.openapi

Best Java code snippets using jetbrains.buildServer.web.openapi.PositionConstraint (Showing top 6 results out of 315)

origin: com.blackducksoftware.integration/hub-teamcity-server

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));
}
origin: PeteGoo/tcSlackBuildNotifier

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");
}
origin: org.jfrog.teamcity/teamcity-artifactory-plugin-server

public ArtifactoryGlobalServerConfigTab(final @NotNull WebControllerManager controllerManager,
                    final @NotNull ArtifactoryServerListener serverListener,
                    final @NotNull SecurityContext securityContext) {
  super(controllerManager, PlaceId.ADMIN_SERVER_CONFIGURATION_TAB, ConstantValues.NAME,
      "artifactoryGlobalServerConfigTab.jsp",
      "Artifactory");
  this.securityContext = securityContext;
  configPersistenceManager = serverListener.getConfigModel();
  setPosition(PositionConstraint.after("serverConfigGeneral"));
  register();
  controllerManager.registerController("/admin/artifactory/serverConfigTab.html",
      new ArtifactoryGlobalServerConfigController(configPersistenceManager));
}
origin: Tapadoo/TCSlackNotifierPlugin

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 ;
}
origin: tcplugins/tcWebHooks

public WebHookRestApiAdminPage(
          @NotNull SBuildServer server,
          @NotNull PagePlaces pagePlaces, 
          @NotNull PluginDescriptor descriptor,
          @NotNull WebHookTeamCityRestApiZipPluginFixer webHookTeamCityRestApiZipPluginFixer
        ) {
  super(pagePlaces);
  myPluginFixer = webHookTeamCityRestApiZipPluginFixer;
  setPluginName(TC_WEB_HOOK_REST_API_ADMIN_ID);
  setIncludeUrl(descriptor.getPluginResourcesPath("WebHookRestApi/adminTab.jsp"));
  addCssFile(descriptor.getPluginResourcesPath("WebHookRestApi/css/tcWebHooksApi.css"));
  addJsFile(descriptor.getPluginResourcesPath("WebHookRestApi/restApiHealthStatus.js"));
  if (isRestartable(server)) {
    addJsFile("/js/bs/serverRestart.js");
  } else {
    addJsFile(descriptor.getPluginResourcesPath("WebHookRestApi/serverNoRestart.js"));
  }
  setTabTitle("WebHooks REST API");
  setPosition(PositionConstraint.after("clouds", "email", "jabber", "plugins", "tcWebHooks"));
  register();
}
origin: tcplugins/tcWebHooks

public WebHookAdminPage(@NotNull PagePlaces pagePlaces, 
               @NotNull PluginDescriptor descriptor,
               @NotNull WebHookHistoryRepository webHookHistoryRepository,
               @NotNull WebHookTemplateManager webHookTemplateManager
               ) {
  super(pagePlaces);
  this.myWebHookHistoryRepository = webHookHistoryRepository;
  this.myWebHookTemplateManager = webHookTemplateManager;
  setPluginName(TC_WEB_HOOK_REST_API_ADMIN_ID);
  setIncludeUrl(descriptor.getPluginResourcesPath("WebHook/adminTab.jsp"));
  addCssFile(descriptor.getPluginResourcesPath("WebHook/css/styles.css"));
  addCssFile(descriptor.getPluginResourcesPath("WebHook/css/graph-colours.css"));
  addJsFile(descriptor.getPluginResourcesPath("WebHook/js/Chart.bundle.min.js"));
  addJsFile(descriptor.getPluginResourcesPath("WebHook/js/admin-chart.js"));
  setTabTitle("WebHooks");
  setPosition(PositionConstraint.after("clouds", "email", "jabber", "plugins", "tcDebRepository"));
  register();
}
jetbrains.buildServer.web.openapiPositionConstraint

Most used methods

  • after
  • between

Popular in Java

  • Start an intent from android
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • setContentView (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now