From b9a143618b98c4ec5b26884552bfbe96aba9a2a0 Mon Sep 17 00:00:00 2001 From: Pramod Valavala <43602528+PramodValavala-MSFT@users.noreply.github.com> Date: Fri, 13 Aug 2021 12:56:47 +0530 Subject: [PATCH] (AzureCXP) add missing configuration properties --- .../azure/functions/annotation/TimerTrigger.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/com/microsoft/azure/functions/annotation/TimerTrigger.java b/src/main/java/com/microsoft/azure/functions/annotation/TimerTrigger.java index 40f1e0e..f051a87 100644 --- a/src/main/java/com/microsoft/azure/functions/annotation/TimerTrigger.java +++ b/src/main/java/com/microsoft/azure/functions/annotation/TimerTrigger.java @@ -90,4 +90,17 @@ * @return A string representing a CRON expression that will be used to schedule a function to run. */ String schedule(); + + /* + * Defines the value indicating whether the function should be invoked when the runtime starts. + * @return The value indicating whether the function should be invoked when the runtime starts. + */ + boolean runOnStartup() default false; + + + /* + * Defines the value indicating whether the schedule should be monitored. + * @return The value indicating whether the schedule should be monitored. + */ + boolean useMonitor() default false; }