@@ -28,31 +28,39 @@ The input YAML should be formatted as follows:
2828``` yaml
2929namespace : " ns" # Optional. If present, your ops will all have "ns.MethodName" aliases.
3030 # (in addition to the per-method manually assigned aliases)
31- version : " x " # Optional. If present, all ops will include this version metadata.
31+ version : " 0 " # Optional. If present, all ops will include this version metadata.
3232
33- # Optional list of authors to apply to all Ops
33+ # Optional single or list of authors to apply to all Ops
3434authors :
3535 - " author 1"
3636 - " author 2"
3737 - ...
3838
39- # Optional. If "containers" is present, the value is a list of fully qualified
40- # class names. Op methods that contain 2 or more of parameters with these types
41- # will be marked as Computers, with the second occurrance being the "output"
42- # param.
43- containers :
44- - " container.1.name"
45- - " container.2.name"
46- - ...
47-
48- # You can include as many base classes as you wish. Each fully-qualified class
49- # name should map to a map of method names to aliases. All methods in the base
50- # class with that name will be indexed under the given alias. The alias should
51- # be "SciJava" style - e.g. if your method performs a Gaussian filter, alias it
52- # "filter.gauss"
39+ # The remaining entries define the actual Ops to include. Ops are specified by
40+ # fully-qualified class name. You can include as many base classes as you wish.
41+ # Each class name should map to a map of method names to metadata for Ops of
42+ # that method. You may include as many methods as desired from the base class.
43+ # All methods with that name in the base class will be processed as Ops.
5344fully.qualified.className :
54- method1Name : " method1.alias"
55- method2Name : " method2.alias"
45+ methodName :
46+ # The alias should be "SciJava" style - e.g. if your method performs a
47+ # Gaussian filter, alias it "filter.gauss"
48+ alias : " method.alias"
49+ # Same as the global authors key. Method-specific authors supersede
50+ # (replace) the global entry for these Ops.
51+ authors : " author name"
52+ # The type specification is essential for non-Function methods. If your
53+ # methods include a pre-allocated buffer or an item that is modified as part
54+ # of execution, their type should be 'ComputerN' or 'InplaceN' respectively,
55+ # where 'N' is the one-based index of the parameter being modified.
56+ type : " Type"
57+ # Optional priority to apply to all Ops for this method, used during
58+ # Op matching in the case multiple Ops satisfy the parameter and name
59+ # for a given request.
60+ priority : " 0.0"
61+ # Optional description to apply to all Ops for this method. This will appear
62+ # in help text queries for the Op.
63+ description : " method description"
5664 ...
5765...
5866```
0 commit comments