Annotation Interface ConditionalOnSystemd


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Conditional(com.github.jpmsilva.jsystemd.OnSystemdCondition.class) public @interface ConditionalOnSystemd
Conditional that only matches when the process is running under systemd.
Author:
Joao Silva
See Also:
  • SystemdUtilities.isUnderSystemd()
  • OnSystemdCondition