File tree Expand file tree Collapse file tree 1 file changed +40
-3
lines changed
API/src/main/java/fr/maxlego08/menu/api/enums Expand file tree Collapse file tree 1 file changed +40
-3
lines changed Original file line number Diff line number Diff line change 77
88/**
99 * @author Maxence
10- *
10+ * <p>
1111 * Action used for the Placeholder button, more information <a href="https://docs.zmenu.dev/configurations/buttons#placeholder">here</a>
1212 */
1313public enum PlaceholderAction {
1414
15+ /**
16+ * Action used for the Placeholder button to compare the result with a boolean
17+ */
1518 BOOLEAN ("b=" ),
1619
20+ /**
21+ * Action used for the Placeholder button to compare the result with a string and check if it is equal to the value
22+ */
1723 EQUALS_STRING ("s=" ),
24+
25+ /**
26+ * Action used for the Placeholder button to compare the result with a string and check if it is different from the value
27+ */
1828 DIFFERENT_STRING ("s!=" ),
29+
30+ /**
31+ * Action used for the Placeholder button to compare the result with a string and check if it is equal (case insensitive) to the value
32+ */
1933 EQUALSIGNORECASE_STRING ("s==" ),
34+
35+ /**
36+ * Action used for the Placeholder button to compare the result with a string and check if it contains the value
37+ */
2038 CONTAINS_STRING ("sc" ),
2139
40+ /**
41+ * Action used for the Placeholder button to compare the result with a number and check if it is equal to the value
42+ */
2243 EQUAL_TO ("==" ),
2344
24- SUPERIOR (">" ), SUPERIOR_OR_EQUAL (">=" ),
45+ /**
46+ * Action used for the Placeholder button to compare the result with a number and check if it is superior to the value
47+ */
48+ SUPERIOR (">" ),
49+
50+ /**
51+ * Action used for the Placeholder button to compare the result with a number and check if it is superior or equal to the value
52+ */
53+ SUPERIOR_OR_EQUAL (">=" ),
54+
55+ /**
56+ * Action used for the Placeholder button to compare the result with a number and check if it is lower than the value
57+ */
58+ LOWER ("<" ),
2559
26- LOWER ("<" ), LOWER_OR_EQUAL ("<=" ),
60+ /**
61+ * Action used for the Placeholder button to compare the result with a number and check if it is lower or equal to the value
62+ */
63+ LOWER_OR_EQUAL ("<=" ),
2764
2865 ;
2966
You can’t perform that action at this time.
0 commit comments