*/
package org.sonar.server.dashboard.ws;
-import org.sonar.api.server.ws.Definable;
-import org.sonar.api.server.ws.RequestHandler;
-import org.sonar.api.server.ws.WebService;
+import org.sonar.server.ws.WsAction;
-public interface DashboardsAction extends RequestHandler, Definable<WebService.NewController> {
+public interface DashboardsAction extends WsAction {
// Marker interface
*/
package org.sonar.server.issue.ws;
-import org.sonar.api.server.ws.Definable;
-import org.sonar.api.server.ws.RequestHandler;
-import org.sonar.api.server.ws.WebService;
+import org.sonar.server.ws.WsAction;
-interface BaseIssuesWsAction extends RequestHandler, Definable<WebService.NewController> {
+interface BaseIssuesWsAction extends WsAction {
// Marker interface
package org.sonar.server.platform.ws;
-import org.sonar.api.server.ws.Definable;
-import org.sonar.api.server.ws.RequestHandler;
-import org.sonar.api.server.ws.WebService;
+import org.sonar.server.ws.WsAction;
-public interface SystemWsAction extends RequestHandler, Definable<WebService.NewController> {
+public interface SystemWsAction extends WsAction {
// Marker interface
}
*/
package org.sonar.server.qualityprofile.ws;
-import org.sonar.api.server.ws.Definable;
-import org.sonar.api.server.ws.RequestHandler;
-import org.sonar.api.server.ws.WebService;
+import org.sonar.server.ws.WsAction;
/**
* Marker interface for quality profile related web service end points
*/
-public interface BaseQProfileWsAction extends RequestHandler, Definable<WebService.NewController> {
+public interface BaseQProfileWsAction extends WsAction {
// Marker interface
}
*/
package org.sonar.server.rule.ws;
-import org.sonar.api.server.ws.Definable;
-import org.sonar.api.server.ws.RequestHandler;
-import org.sonar.api.server.ws.WebService;
+import org.sonar.server.ws.WsAction;
/**
* Marker interface for coding rule related actions
*
*/
-interface RulesAction extends RequestHandler, Definable<WebService.NewController> {
+interface RulesAction extends WsAction {
// Marker interface
}
package org.sonar.server.source.ws;
-import org.sonar.api.server.ws.Definable;
-import org.sonar.api.server.ws.RequestHandler;
-import org.sonar.api.server.ws.WebService;
+import org.sonar.server.ws.WsAction;
-public interface SourcesAction extends RequestHandler, Definable<WebService.NewController> {
+public interface SourcesAction extends WsAction {
// Marker interface
}
--- /dev/null
+/*
+ * SonarQube, open source software quality management tool.
+ * Copyright (C) 2008-2014 SonarSource
+ * mailto:contact AT sonarsource DOT com
+ *
+ * SonarQube is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * SonarQube is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+package org.sonar.server.ws;
+
+import org.sonar.api.server.ws.Definable;
+import org.sonar.api.server.ws.RequestHandler;
+import org.sonar.api.server.ws.WebService;
+
+/**
+ * Since 5.2, this interface is the base for Web Service marker interfaces
+ */
+public interface WsAction extends RequestHandler, Definable<WebService.NewController> {
+
+ // Marker interface
+}