Annotation Type NessiePersist
-
@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Inherited public @interface NessiePersist
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringconfigMethodOptional: name of method to update theconfigurationfor thePersist.booleaninitializeRepoWhether to initialize the adapter, defaults totrue.
-
-
-
Element Detail
-
configMethod
java.lang.String configMethod
Optional: name of method to update theconfigurationfor thePersist.The method must be
- static
- not private
- have a single parameter
org.projectnessie.versioned.storage.common.config.StoreConfig - return
org.projectnessie.versioned.storage.common.config.StoreConfig
Example:
@NessiePersist(configMethod = "applyTestClock") protected static Persist persist; static StoreConfig applyTestClock(StoreConfig config) { return ... }- Default:
- ""
-
-