congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
WebService$Action.deprecatedKey
Code IndexAdd Tabnine to your IDE (free)

How to use
deprecatedKey
method
in
org.sonar.api.server.ws.WebService$Action

Best Java code snippets using org.sonar.api.server.ws.WebService$Action.deprecatedKey (Showing top 3 results out of 315)

origin: SonarSource/sonarqube

@Test
public void verify_definition() {
 WebService.Action action = wsTester.getDef();
 assertThat(action.key()).isEqualTo("search");
 assertThat(action.isInternal()).isTrue();
 assertThat(action.isPost()).isFalse();
 assertThat(action.since()).isEqualTo("6.2");
 assertThat(action.description()).isEqualTo("Search for root users.<br/>" +
  "Requires to be root.");
 assertThat(action.responseExample()).isNotNull();
 assertThat(action.deprecatedKey()).isNull();
 assertThat(action.deprecatedSince()).isNull();
 assertThat(action.handler()).isSameAs(underTest);
 assertThat(action.params()).isEmpty();
}
origin: SonarSource/sonarqube

@Test
public void verify_definition() {
 WebService.Action action = wsTester.getDef();
 assertThat(action.key()).isEqualTo("set_root");
 assertThat(action.isInternal()).isTrue();
 assertThat(action.isPost()).isTrue();
 assertThat(action.since()).isEqualTo("6.2");
 assertThat(action.description()).isEqualTo("Make the specified user root.<br/>" +
  "Requires to be root.");
 assertThat(action.responseExample()).isNull();
 assertThat(action.deprecatedKey()).isNull();
 assertThat(action.deprecatedSince()).isNull();
 assertThat(action.handler()).isSameAs(underTest);
 assertThat(action.params()).hasSize(1);
 WebService.Param param = action.param("login");
 assertThat(param.isRequired()).isTrue();
 assertThat(param.description()).isEqualTo("A user login");
 assertThat(param.defaultValue()).isNull();
 assertThat(param.deprecatedSince()).isNull();
 assertThat(param.deprecatedKey()).isNull();
 assertThat(param.exampleValue()).isEqualTo("admin");
}
origin: SonarSource/sonarqube

@Test
public void verify_definition() {
 WebService.Action action = wsTester.getDef();
 assertThat(action.key()).isEqualTo("unset_root");
 assertThat(action.isInternal()).isTrue();
 assertThat(action.isPost()).isTrue();
 assertThat(action.since()).isEqualTo("6.2");
 assertThat(action.description()).isEqualTo("Make the specified user not root.<br/>" +
  "Requires to be root.");
 assertThat(action.responseExample()).isNull();
 assertThat(action.deprecatedKey()).isNull();
 assertThat(action.deprecatedSince()).isNull();
 assertThat(action.handler()).isSameAs(underTest);
 assertThat(action.params()).hasSize(1);
 WebService.Param param = action.param("login");
 assertThat(param.isRequired()).isTrue();
 assertThat(param.description()).isEqualTo("A user login");
 assertThat(param.defaultValue()).isNull();
 assertThat(param.deprecatedSince()).isNull();
 assertThat(param.deprecatedKey()).isNull();
 assertThat(param.exampleValue()).isEqualTo("admin");
}
org.sonar.api.server.wsWebService$ActiondeprecatedKey

Popular methods of WebService$Action

  • isInternal
  • key
  • param
  • changelog
  • deprecatedSince
  • description
  • handler
  • isPost
  • params
  • path
  • responseExample
  • responseExampleAsString
  • responseExample,
  • responseExampleAsString,
  • since,
  • <init>,
  • responseExampleFormat,
  • logWarningIf,
  • toString

Popular in Java

  • Reactive rest calls using spring rest template
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (Timer)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • PhpStorm for WordPress
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