public class SchedulerUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isConfigValue(String val) |
static String |
lookUpPropertyValue(String propertyValue)
Looks up the property value by checking whether the value is a configuration key and resolves it if so.
|
static long |
parseDelayedAsMillis(Scheduled scheduled)
Parse the `@Scheduled(delayed = "")` field into milliseconds.
|
static long |
parseEveryAsMillis(Scheduled scheduled)
Parse the `@Scheduled(every = "")` field into milliseconds.
|
public static long parseDelayedAsMillis(Scheduled scheduled)
scheduled - annotationpublic static long parseEveryAsMillis(Scheduled scheduled)
scheduled - annotationpublic static String lookUpPropertyValue(String propertyValue)
propertyValue - property value to look up.public static boolean isConfigValue(String val)
Copyright © 2021 JBoss by Red Hat. All rights reserved.