@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface ExtensionMarker
1) Create your annotation.} 2) Mark it with @ExtensionMarker 3) Create an interpreter that will apply changes to the Docker container based on the annotation value.
ExtensionInterpreter| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends ExtensionInterpreter<?>> |
value
The class that will interpret instances of your annotation
|
public abstract Class<? extends ExtensionInterpreter<?>> value
Copyright © 2021. All rights reserved.