org.sonar.api.server.ws
Class WebService.NewController

java.lang.Object
  extended by org.sonar.api.server.ws.WebService.NewController
Enclosing interface:
WebService

public static class WebService.NewController
extends Object


Method Summary
 WebService.NewAction createAction(String actionKey)
           
 void done()
          Important - this method must be called in order to apply changes and make the controller available in WebService.Context.controllers()
 WebService.NewController setDescription(String s)
          Optional description (accept HTML)
 WebService.NewController setSince(String s)
          Optional version when the controller was created
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

done

public void done()
Important - this method must be called in order to apply changes and make the controller available in WebService.Context.controllers()


setDescription

public WebService.NewController setDescription(@Nullable
                                               String s)
Optional description (accept HTML)


setSince

public WebService.NewController setSince(@Nullable
                                         String s)
Optional version when the controller was created


createAction

public WebService.NewAction createAction(String actionKey)


Copyright © 2009-2014 SonarSource. All Rights Reserved.