@@ -48,6 +48,7 @@ public final class Config {
4848 private final RSSFeedsConfig rssFeedsConfig ;
4949 private final String selectRolesChannelPattern ;
5050 private final String memberCountCategoryPattern ;
51+ private final RoleApplicationSystemConfig roleApplicationSystemConfig ;
5152
5253 @ SuppressWarnings ("ConstructorWithTooManyParameters" )
5354 @ JsonCreator (mode = JsonCreator .Mode .PROPERTIES )
@@ -100,7 +101,9 @@ private Config(@JsonProperty(value = "token", required = true) String token,
100101 required = true ) FeatureBlacklistConfig featureBlacklistConfig ,
101102 @ JsonProperty (value = "rssConfig" , required = true ) RSSFeedsConfig rssFeedsConfig ,
102103 @ JsonProperty (value = "selectRolesChannelPattern" ,
103- required = true ) String selectRolesChannelPattern ) {
104+ required = true ) String selectRolesChannelPattern ,
105+ @ JsonProperty (value = "roleApplicationSystem" ,
106+ required = true ) RoleApplicationSystemConfig roleApplicationSystemConfig ) {
104107 this .token = Objects .requireNonNull (token );
105108 this .githubApiKey = Objects .requireNonNull (githubApiKey );
106109 this .databasePath = Objects .requireNonNull (databasePath );
@@ -135,6 +138,7 @@ private Config(@JsonProperty(value = "token", required = true) String token,
135138 this .featureBlacklistConfig = Objects .requireNonNull (featureBlacklistConfig );
136139 this .rssFeedsConfig = Objects .requireNonNull (rssFeedsConfig );
137140 this .selectRolesChannelPattern = Objects .requireNonNull (selectRolesChannelPattern );
141+ this .roleApplicationSystemConfig = roleApplicationSystemConfig ;
138142 }
139143
140144 /**
@@ -437,6 +441,15 @@ public String getMemberCountCategoryPattern() {
437441 return memberCountCategoryPattern ;
438442 }
439443
444+ /**
445+ * The configuration related to the application form.
446+ *
447+ * @return the application form config
448+ */
449+ public RoleApplicationSystemConfig getRoleApplicationSystemConfig () {
450+ return roleApplicationSystemConfig ;
451+ }
452+
440453 /**
441454 * Gets the RSS feeds configuration.
442455 *
0 commit comments