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

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
  • runOnUiThread (Activity)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JTable (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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