Tabnine Logo
WebService$Action.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.sonar.api.server.ws.WebService$Action
constructor

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

origin: SonarSource/sonarqube

private Controller(NewController newController) {
 checkState(!newController.actions.isEmpty(), "At least one action must be declared in the web service '%s'", newController.path);
 this.path = newController.path;
 this.description = newController.description;
 this.since = newController.since;
 Map<String, Action> mapBuilder = new HashMap<>();
 for (NewAction newAction : newController.actions.values()) {
  mapBuilder.put(newAction.key, new Action(this, newAction));
 }
 this.actions = Collections.unmodifiableMap(mapBuilder);
}
origin: org.codehaus.sonar/sonar-plugin-api

private Controller(NewController newController) {
 if (newController.actions.isEmpty()) {
  throw new IllegalStateException(
   String.format("At least one action must be declared in the web service '%s'", newController.path));
 }
 this.path = newController.path;
 this.description = newController.description;
 this.since = newController.since;
 ImmutableMap.Builder<String, Action> mapBuilder = ImmutableMap.builder();
 for (NewAction newAction : newController.actions.values()) {
  mapBuilder.put(newAction.key, new Action(this, newAction));
 }
 this.actions = mapBuilder.build();
}
origin: org.sonarsource.sonarqube/sonar-plugin-api

private Controller(NewController newController) {
 checkState(!newController.actions.isEmpty(), "At least one action must be declared in the web service '%s'", newController.path);
 this.path = newController.path;
 this.description = newController.description;
 this.since = newController.since;
 Map<String, Action> mapBuilder = new HashMap<>();
 for (NewAction newAction : newController.actions.values()) {
  mapBuilder.put(newAction.key, new Action(this, newAction));
 }
 this.actions = Collections.unmodifiableMap(mapBuilder);
}
org.sonar.api.server.wsWebService$Action<init>

Popular methods of WebService$Action

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Table (org.hibernate.mapping)
    A relational table
  • CodeWhisperer alternatives
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