Package io.quarkiverse.githubapp
Annotation Interface ConfigFile
Marks a parameter as a configuration file to be fetched from the code repository,
and optionally (if the parameter type is different from
String)
deserialized using Jackson.
Configuration files are always retrieved from the default branch,
but there is some flexibility as to which repository the files are retrieved from
in the case of forks, see source().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhich repository to extract a configuration file from. -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value- Returns:
- The path to the file in the code repository,
either absolute (if it starts with
/) or relative to/.github/(if it doesn't start with/).
-
-
-
source
ConfigFile.Source source- Returns:
- Which repository to extract the file from in the case of forked repositories.
- See Also:
- Default:
- DEFAULT
-