Subversion Repositories XServices

Rev

Rev 109 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
94 brianR 1
package net.brutex.xservices.ws.rs;
2
 
3
import java.io.File;
4
import javax.ws.rs.DefaultValue;
5
import javax.ws.rs.GET;
6
import javax.ws.rs.Path;
7
import javax.ws.rs.Produces;
8
import javax.ws.rs.QueryParam;
9
import javax.ws.rs.core.Context;
10
import javax.ws.rs.core.HttpHeaders;
11
import javax.ws.rs.core.Response;
12
 
109 brianR 13
@Path("/CVSService/")
14
@Produces({"application/xml", "application/json"})
15
public abstract interface CVSInfo
16
{
17
  public static final String WS_OPERATION_GETREPOSITORYFILES = "getRepositoryFiles";
18
  public static final String WS_OPERATION_GETMODULES = "getModules";
19
  public static final String WS_OPERATION_GETTAGS = "getTags";
20
  public static final String WS_OPERATION_GETFILECONTENT = "getFileContent";
21
  public static final String WS_OPERATION_SEARCHFILECONTENT = "searchFileContent";
94 brianR 22
 
109 brianR 23
  @GET
24
  @Path("getRepositoryFiles")
25
  public abstract Response getRepositoryFiles(@Context HttpHeaders paramHttpHeaders, @QueryParam("config") File paramFile, @QueryParam("modules") @DefaultValue("") String paramString, @QueryParam("recursive") @DefaultValue("false") boolean paramBoolean1, @QueryParam("showRevisions") @DefaultValue("false") boolean paramBoolean2, @QueryParam("forceNoCache") @DefaultValue("false") boolean paramBoolean3);
94 brianR 26
 
109 brianR 27
  @GET
28
  @Path("getModules")
29
  public abstract Response getModules(@Context HttpHeaders paramHttpHeaders, @QueryParam("config") File paramFile, @QueryParam("forceNoCache") @DefaultValue("false") boolean paramBoolean);
94 brianR 30
 
109 brianR 31
  @GET
32
  @Path("getTags")
33
  public abstract Response getTags(@Context HttpHeaders paramHttpHeaders, @QueryParam("config") File paramFile, @QueryParam("withFiles") @DefaultValue("false") boolean paramBoolean);
94 brianR 34
 
109 brianR 35
  @GET
36
  @Path("getFileContent")
37
  public abstract Response getFileContent(@Context HttpHeaders paramHttpHeaders, @QueryParam("config") File paramFile, @QueryParam("file") String paramString, @QueryParam("forceNoCache") @DefaultValue("false") boolean paramBoolean);
94 brianR 38
 
109 brianR 39
  @GET
40
  @Path("searchFileContent")
41
  public abstract Response searchFileContent(@Context HttpHeaders paramHttpHeaders, @QueryParam("config") File paramFile, @QueryParam("file_regexp") String paramString1, @QueryParam("content_regexp") String paramString2, @QueryParam("forceNoCache") @DefaultValue("false") boolean paramBoolean);
94 brianR 42
}
43
 
109 brianR 44
/* Location:           C:\Users\brosenberger\Documents\My Box Files\XBridgeNG-download\XServices-20130131 - Kopie\WEB-INF\classes\net.zip
45
 * Qualified Name:     net.brutex.xservices.ws.rs.CVSInfo
46
 * JD-Core Version:    0.6.2
47
 */