Class VersionResource
- java.lang.Object
-
- org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
-
- org.pentaho.platform.web.http.api.resources.VersionResource
-
public class VersionResource extends AbstractJaxRSResource
This resource manages version checking capability of the platform
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Log
logger
-
Fields inherited from class org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
acceptableMediaTypes, httpServletRequest, httpServletResponse, TEXT_HTML
-
-
Constructor Summary
Constructors Constructor Description VersionResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSoftwareUpdatesDocument()
Return software update document to the userjavax.ws.rs.core.Response
getVersion()
Returns the current version of the platform-
Methods inherited from class org.pentaho.platform.web.http.api.resources.AbstractJaxRSResource
setHttpHeaders
-
-
-
-
Method Detail
-
getVersion
public javax.ws.rs.core.Response getVersion()
Returns the current version of the platform- Returns:
- platform's version
-
getSoftwareUpdatesDocument
public String getSoftwareUpdatesDocument()
Return software update document to the user- Returns:
- software update document
-
-