Package org.springdoc.core.properties
Class SpringDocConfigProperties.GroupConfig
java.lang.Object
org.springdoc.core.properties.SpringDocConfigProperties.GroupConfig
- Enclosing class:
- SpringDocConfigProperties
The type Group config.
- Author:
- bnasslahsen
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Group config.GroupConfig
(String group, List<String> pathsToMatch, List<String> packagesToScan, List<String> packagesToExclude, List<String> pathsToExclude, List<String> producesToMatch, List<String> consumesToMatch, List<String> headersToMatch) Instantiates a new Group config. -
Method Summary
Modifier and TypeMethodDescriptionGets consumes to match.getGroup()
Gets group.Gets headers to match.Gets packages to exclude.Gets packages to scan.Gets paths to exclude.Gets paths to match.Gets produces to match.void
setConsumesToMatch
(List<String> consumesToMatch) Sets consumes to match.void
Sets group.void
setHeadersToMatch
(List<String> headersToMatch) Sets headers to match.void
setPackagesToExclude
(List<String> packagesToExclude) Sets packages to exclude.void
setPackagesToScan
(List<String> packagesToScan) Sets packages to scan.void
setPathsToExclude
(List<String> pathsToExclude) Sets paths to exclude.void
setPathsToMatch
(List<String> pathsToMatch) Sets paths to match.void
setProducesToMatch
(List<String> producesToMatch) Sets produces to match.
-
Constructor Details
-
GroupConfig
public GroupConfig()Instantiates a new Group config. -
GroupConfig
public GroupConfig(String group, List<String> pathsToMatch, List<String> packagesToScan, List<String> packagesToExclude, List<String> pathsToExclude, List<String> producesToMatch, List<String> consumesToMatch, List<String> headersToMatch) Instantiates a new Group config.- Parameters:
group
- the grouppathsToMatch
- the paths to matchpackagesToScan
- the packages to scanpackagesToExclude
- the packages to excludepathsToExclude
- the paths to excludeproducesToMatch
- the produces to matchconsumesToMatch
- the consumes to matchheadersToMatch
- the headers to match
-
-
Method Details
-
getHeadersToMatch
Gets headers to match.- Returns:
- the headers to match
-
setHeadersToMatch
Sets headers to match.- Parameters:
headersToMatch
- the headers to match
-
getConsumesToMatch
Gets consumes to match.- Returns:
- the consumes to match
-
setConsumesToMatch
Sets consumes to match.- Parameters:
consumesToMatch
- the consumes to match
-
getPathsToMatch
Gets paths to match.- Returns:
- the paths to match
-
setPathsToMatch
Sets paths to match.- Parameters:
pathsToMatch
- the paths to match
-
getPackagesToScan
Gets packages to scan.- Returns:
- the packages to scan
-
setPackagesToScan
Sets packages to scan.- Parameters:
packagesToScan
- the packages to scan
-
getGroup
Gets group.- Returns:
- the group
-
setGroup
Sets group.- Parameters:
group
- the group
-
getPackagesToExclude
Gets packages to exclude.- Returns:
- the packages to exclude
-
setPackagesToExclude
Sets packages to exclude.- Parameters:
packagesToExclude
- the packages to exclude
-
getPathsToExclude
Gets paths to exclude.- Returns:
- the paths to exclude
-
setPathsToExclude
Sets paths to exclude.- Parameters:
pathsToExclude
- the paths to exclude
-
getProducesToMatch
Gets produces to match.- Returns:
- the produces to match
-
setProducesToMatch
Sets produces to match.- Parameters:
producesToMatch
- the produces to match
-