File tree Expand file tree Collapse file tree
header/src/main/java/org/zstack/header/zql Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package org .zstack .header .zql ;
2+
3+ import java .util .List ;
4+
5+ /**
6+ * BeforeCallZWatchExtensionPoint is an extension point that allows plugins
7+ * to perform custom operations before calling zwatch.
8+ */
9+ public interface BeforeCallZWatchExtensionPoint {
10+ /**
11+ * Check if this extension supports the given VO class
12+ * @param voClass the VO class to check
13+ * @return true if this extension supports the VO class, false otherwise
14+ */
15+ boolean supports (Class <?> voClass );
16+
17+ /**
18+ * Perform custom operations before calling ZWatch, for example: health-check
19+ * @param voClass the VO class type
20+ * @param uuids the list of resource UUIDs to process
21+ */
22+ void beforeCallZWatch (Class <?> voClass , List <String > uuids );
23+ }
You can’t perform that action at this time.
0 commit comments