messif.algorithms
Annotation Type Algorithm.AlgorithmConstructor


@Retention(value=RUNTIME)
@Target(value=CONSTRUCTOR)
public static @interface Algorithm.AlgorithmConstructor

Annotation for algorithm constructors. Each constructor, that should be accessible by auto-generated clients must be annotated. Such constructor can only have parameters that can be converted from a string by stringToType method. Each constructor parameter should be annotated by a description using this annotations values.


Required Element Summary
 java.lang.String[] arguments
          A list of descriptions for constructor parameters.
 java.lang.String description
          Description of an algorithm constructor.
 

Element Detail

description

public abstract java.lang.String description
Description of an algorithm constructor.

Returns:
description of algorithm constructor

arguments

public abstract java.lang.String[] arguments
A list of descriptions for constructor parameters. Each parameter should have a positionally-matching descriptor value.

Returns:
list of descriptions for constructor parameters