org.opentox.algorithm.reporting
Class AlgorithmReporter
java.lang.Object
org.opentox.error.ErrorSource
org.opentox.algorithm.reporting.AlgorithmReporter
- All Implemented Interfaces:
- IAlgorithmReporter, IProne2Error
public class AlgorithmReporter
- extends ErrorSource
- implements IAlgorithmReporter
- Version:
- 1.3.3 (Last update: Dec 28, 2009)
- Author:
- OpenTox - http://www.opentox.org/, Sopasakis Pantelis, Sarimveis Harry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlgorithmReporter
public AlgorithmReporter()
statisticsSupported
private static java.util.ArrayList<java.lang.String> statisticsSupported(AlgorithmEnum algorithm)
Parameters
private static java.util.ArrayList<AlgorithmParameter> Parameters(AlgorithmEnum algorithm)
getRepresentationForMetaInf
private org.restlet.representation.Representation getRepresentationForMetaInf(AlgorithmMeta metainf,
org.restlet.data.MediaType media)
formatedRepresntation
public org.restlet.representation.Representation formatedRepresntation(org.restlet.data.MediaType media,
AlgorithmEnum algorithm)
- Description copied from interface:
IAlgorithmReporter
- Formatted representation of an algorithm given the algorithm and the
desired MIME type.
- Specified by:
formatedRepresntation
in interface IAlgorithmReporter
- Parameters:
media
- Prefered mime.algorithm
- The algorithm for which the representation is needed.
- Returns:
- Representation of algorithm in prefered MIME type.
getErrorRep
public ErrorRepresentation getErrorRep()
- Specified by:
getErrorRep
in interface IProne2Error
- Overrides:
getErrorRep
in class ErrorSource