public class RepositoryScanningConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private List<FileType> |
fileTypes
Field fileTypes.
|
private List<String> |
invalidContentConsumers
Field invalidContentConsumers.
|
private List<String> |
knownContentConsumers
Field knownContentConsumers.
|
Constructor and Description |
---|
RepositoryScanningConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addFileType(FileType fileType)
Method addFileType.
|
void |
addInvalidContentConsumer(String string)
Method addInvalidContentConsumer.
|
void |
addKnownContentConsumer(String string)
Method addKnownContentConsumer.
|
List<FileType> |
getFileTypes()
Method getFileTypes.
|
List<String> |
getInvalidContentConsumers()
Method getInvalidContentConsumers.
|
List<String> |
getKnownContentConsumers()
Method getKnownContentConsumers.
|
void |
removeFileType(FileType fileType)
Method removeFileType.
|
void |
removeInvalidContentConsumer(String string)
Method removeInvalidContentConsumer.
|
void |
removeKnownContentConsumer(String string)
Method removeKnownContentConsumer.
|
void |
setFileTypes(List<FileType> fileTypes)
Set the FileTypes for the repository scanning configuration.
|
void |
setInvalidContentConsumers(List<String> invalidContentConsumers)
Set the list of active consumer IDs for invalid content.
|
void |
setKnownContentConsumers(List<String> knownContentConsumers)
Set the list of active consumers IDs for known content.
|
private List<String> knownContentConsumers
private List<String> invalidContentConsumers
public RepositoryScanningConfiguration()
public void addFileType(FileType fileType)
fileType
- public void addInvalidContentConsumer(String string)
string
- public void addKnownContentConsumer(String string)
string
- public List<FileType> getFileTypes()
public List<String> getInvalidContentConsumers()
public List<String> getKnownContentConsumers()
public void removeFileType(FileType fileType)
fileType
- public void removeInvalidContentConsumer(String string)
string
- public void removeKnownContentConsumer(String string)
string
- public void setFileTypes(List<FileType> fileTypes)
fileTypes
- public void setInvalidContentConsumers(List<String> invalidContentConsumers)
invalidContentConsumers
- public void setKnownContentConsumers(List<String> knownContentConsumers)
knownContentConsumers
- Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.