|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.resource.UniformResource
org.restlet.resource.ServerResource
org.opentox.resource.OTResource
org.opentox.resource.ListModels
public class ListModels
Lists all classificantion and regression models - returns a text/uri-list representation for that list.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.opentox.resource.OTResource |
---|
OTResource.Directories, OTResource.URIs |
Field Summary | |
---|---|
private static java.lang.String |
ALGORITHM_TYPE_QUERY
searchAlgorithm can be any keyword related to algorithms such as classification, regression, learning, svm, svc, mlr, knn. |
private int |
max
|
private static java.lang.String |
MAX_RESULTS_QUERY
|
private java.lang.String |
searchAlgorithm
Database Query |
private static long |
serialVersionUID
|
Fields inherited from class org.opentox.resource.OTResource |
---|
htmlEND, htmlHEAD, PMMLIntro, xmlIntro |
Constructor Summary | |
---|---|
ListModels()
|
Method Summary | |
---|---|
void |
doInit()
Initializes the resource. |
org.restlet.representation.Representation |
get(org.restlet.representation.Variant variant)
Return a text/uri-list or text/html representation of the list of available models. |
Methods inherited from class org.restlet.resource.ServerResource |
---|
delete, delete, describeVariants, doConditionalHandle, doGetInfo, doHandle, doHandle, doNegotiatedHandle, get, getInfo, getInfo, getPreferredVariant, getVariants, getVariants, handle, head, head, isAnnotated, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setChallengeRequest, setChallengeRequests, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setServerInfo, setStatus, setStatus, setStatus, setStatus, setVariants, updateAllowedMethods, updateDimensions |
Methods inherited from class org.restlet.resource.UniformResource |
---|
doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getContext, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMethod, getOriginalRef, getProtocol, getQuery, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestEntity, getResponse, getResponseAttributes, getResponseEntity, getRootRef, getServerInfo, getStatus, init, isConfidential, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private static final java.lang.String ALGORITHM_TYPE_QUERY
private static final java.lang.String MAX_RESULTS_QUERY
private java.lang.String searchAlgorithm
private int max
Constructor Detail |
---|
public ListModels()
Method Detail |
---|
public void doInit() throws org.restlet.resource.ResourceException
doInit
in interface IProvidesHttpAccess
doInit
in class org.restlet.resource.UniformResource
org.restlet.resource.ResourceException
public org.restlet.representation.Representation get(org.restlet.representation.Variant variant)
get
in interface IProvidesHttpAccess
get
in class org.restlet.resource.ServerResource
variant
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |