We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 178cae7 commit 9bcebd9Copy full SHA for 9bcebd9
src/main/java/org/scijava/plugin/Parameter.java
@@ -116,7 +116,11 @@
116
/** Defines a key to use for saving the value persistently. */
117
String persistKey() default "";
118
119
- /** Defines a function that is called to initialize the parameter. */
+ /**
120
+ * Defines a function that is called to initialize the parameter. If an
121
+ * initializer is defined, it takes precedence over {@link #persist()}, i.e.
122
+ * the parameter is not persisted even if {@code persist=true} is set.
123
+ */
124
String initializer() default "";
125
126
/**
0 commit comments