@@ -46,6 +46,7 @@ public final class Config {
4646 private final RSSFeedsConfig rssFeedsConfig ;
4747 private final String selectRolesChannelPattern ;
4848 private final String memberCountCategoryPattern ;
49+ private final RoleApplicationSystemConfig roleApplicationSystemConfig ;
4950
5051 @ SuppressWarnings ("ConstructorWithTooManyParameters" )
5152 @ JsonCreator (mode = JsonCreator .Mode .PROPERTIES )
@@ -94,7 +95,9 @@ private Config(@JsonProperty(value = "token", required = true) String token,
9495 required = true ) FeatureBlacklistConfig featureBlacklistConfig ,
9596 @ JsonProperty (value = "rssConfig" , required = true ) RSSFeedsConfig rssFeedsConfig ,
9697 @ JsonProperty (value = "selectRolesChannelPattern" ,
97- required = true ) String selectRolesChannelPattern ) {
98+ required = true ) String selectRolesChannelPattern ,
99+ @ JsonProperty (value = "roleApplicationSystem" ,
100+ required = true ) RoleApplicationSystemConfig roleApplicationSystemConfig ) {
98101 this .token = Objects .requireNonNull (token );
99102 this .githubApiKey = Objects .requireNonNull (githubApiKey );
100103 this .databasePath = Objects .requireNonNull (databasePath );
@@ -127,6 +130,7 @@ private Config(@JsonProperty(value = "token", required = true) String token,
127130 this .featureBlacklistConfig = Objects .requireNonNull (featureBlacklistConfig );
128131 this .rssFeedsConfig = Objects .requireNonNull (rssFeedsConfig );
129132 this .selectRolesChannelPattern = Objects .requireNonNull (selectRolesChannelPattern );
133+ this .roleApplicationSystemConfig = roleApplicationSystemConfig ;
130134 }
131135
132136 /**
@@ -410,6 +414,15 @@ public String getMemberCountCategoryPattern() {
410414 return memberCountCategoryPattern ;
411415 }
412416
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+
413426 /**
414427 * Gets the RSS feeds configuration.
415428 *
0 commit comments