Package net.sf.okapi.common
Annotation Type ReferenceParameter
-
@Retention(RUNTIME) @Target(METHOD) public @interface ReferenceParameter
Java annotation for indicating a parameter that is a reference to an external resource.This annotation should be placed on the getter method of any parameter that is a reference to an external file (e.g. the path to a SRX file in a segmentation step).
The getter method must be in the form a getAbc(), and must have a corresponding setter method (e.g. setAbc(String)).