fr.cnes.sitools.tasks.exposition
Class TaskRepresentResource
java.lang.Object
ExtendedWadlServerResource
fr.cnes.sitools.common.resource.AbstractSitoolsResource
fr.cnes.sitools.common.SitoolsResource
fr.cnes.sitools.tasks.exposition.AbstractTaskResource
fr.cnes.sitools.tasks.exposition.TaskRepresentResource
public class TaskRepresentResource
- extends AbstractTaskResource
Resource to return the result of a Task
- Author:
- m.gond
Method Summary |
void |
describeGet(org.restlet.ext.wadl.MethodInfo info)
Describe the GET method. |
void |
doInit()
Initiate the resource |
org.restlet.representation.Representation |
getResult(org.restlet.representation.Variant variant)
GET the list of tasks assigned to a SVA |
void |
sitoolsDescribe()
Method implementation mandatory |
Methods inherited from class fr.cnes.sitools.common.SitoolsResource |
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskRepresentResource
public TaskRepresentResource()
sitoolsDescribe
public void sitoolsDescribe()
- Description copied from class:
AbstractSitoolsResource
- Method implementation mandatory
- Overrides:
sitoolsDescribe
in class AbstractTaskResource
doInit
public void doInit()
- Description copied from class:
SitoolsResource
- Initiate the resource
- Overrides:
doInit
in class AbstractTaskResource
getResult
@Get
public org.restlet.representation.Representation getResult(org.restlet.representation.Variant variant)
- GET the list of tasks assigned to a SVA
- Parameters:
variant
- the variant sent by the request
- Returns:
- a representation of all tasks treated by the SVA
describeGet
public void describeGet(org.restlet.ext.wadl.MethodInfo info)
- Describe the GET method.
- Parameters:
info
- the WADL method information
Copyright © 2010-2013 CNES. All Rights Reserved.