@@ -46,6 +46,7 @@ public final class Config {
46
46
private final RSSFeedsConfig rssFeedsConfig ;
47
47
private final String selectRolesChannelPattern ;
48
48
private final String memberCountCategoryPattern ;
49
+ private final RoleApplicationSystemConfig roleApplicationSystemConfig ;
49
50
50
51
@ SuppressWarnings ("ConstructorWithTooManyParameters" )
51
52
@ JsonCreator (mode = JsonCreator .Mode .PROPERTIES )
@@ -94,7 +95,9 @@ private Config(@JsonProperty(value = "token", required = true) String token,
94
95
required = true ) FeatureBlacklistConfig featureBlacklistConfig ,
95
96
@ JsonProperty (value = "rssConfig" , required = true ) RSSFeedsConfig rssFeedsConfig ,
96
97
@ JsonProperty (value = "selectRolesChannelPattern" ,
97
- required = true ) String selectRolesChannelPattern ) {
98
+ required = true ) String selectRolesChannelPattern ,
99
+ @ JsonProperty (value = "roleApplicationSystem" ,
100
+ required = true ) RoleApplicationSystemConfig roleApplicationSystemConfig ) {
98
101
this .token = Objects .requireNonNull (token );
99
102
this .githubApiKey = Objects .requireNonNull (githubApiKey );
100
103
this .databasePath = Objects .requireNonNull (databasePath );
@@ -127,6 +130,7 @@ private Config(@JsonProperty(value = "token", required = true) String token,
127
130
this .featureBlacklistConfig = Objects .requireNonNull (featureBlacklistConfig );
128
131
this .rssFeedsConfig = Objects .requireNonNull (rssFeedsConfig );
129
132
this .selectRolesChannelPattern = Objects .requireNonNull (selectRolesChannelPattern );
133
+ this .roleApplicationSystemConfig = roleApplicationSystemConfig ;
130
134
}
131
135
132
136
/**
@@ -410,6 +414,15 @@ public String getMemberCountCategoryPattern() {
410
414
return memberCountCategoryPattern ;
411
415
}
412
416
417
+ /**
418
+ * The configuration related to the application form.
419
+ *
420
+ * @return the application form config
421
+ */
422
+ public RoleApplicationSystemConfig getRoleApplicationSystemConfig () {
423
+ return roleApplicationSystemConfig ;
424
+ }
425
+
413
426
/**
414
427
* Gets the RSS feeds configuration.
415
428
*
0 commit comments