WPS icon indicating copy to clipboard operation
WPS copied to clipboard

Allowed values for WPS4R

Open nuest opened this issue 10 years ago • 0 comments

Implement an annotation that can be used to provide allowed values for literal inputs, see class RAttribute.

Possible features:

  • a collection of strings, e.g. # wps.in: names, string, allowedValues = Spock, Uhura, Kirk;
  • a range for numerical values, e.g. # wps.in: sampleSize, integer, allowedValues = [0,100);

Questions:

  • What is the WPS internal API for allowed values? Does it exist?

nuest avatar Apr 16 '14 15:04 nuest