Modifier and Type | Field and Description |
---|---|
static String |
ARTIFACTS |
static String |
AUTO_REMOVE |
static List<String> |
DEFAULT_EXCLUSIONS
Deprecated.
|
static String |
IGNORED |
static String |
INDEXABLE_CONTENT |
Constructor and Description |
---|
FileTypes() |
Modifier and Type | Method and Description |
---|---|
void |
afterConfigurationChange(org.apache.archiva.components.registry.Registry registry,
String propertyName,
Object propertyValue) |
void |
beforeConfigurationChange(org.apache.archiva.components.registry.Registry registry,
String propertyName,
Object propertyValue) |
List<String> |
getFileTypePatterns(String id)
Get the list of patterns for a specified filetype.
|
void |
initialize() |
boolean |
matchesArtifactPattern(String relativePath) |
boolean |
matchesDefaultExclusions(String relativePath) |
void |
setArchivaConfiguration(ArchivaConfiguration archivaConfiguration) |
public static final String ARTIFACTS
public static final String AUTO_REMOVE
public static final String INDEXABLE_CONTENT
public static final String IGNORED
public static final List<String> DEFAULT_EXCLUSIONS
public FileTypes()
public void setArchivaConfiguration(ArchivaConfiguration archivaConfiguration)
public List<String> getFileTypePatterns(String id)
"**/*"
id
- the id to lookup.public boolean matchesArtifactPattern(String relativePath)
public boolean matchesDefaultExclusions(String relativePath)
@PostConstruct public void initialize()
public void afterConfigurationChange(org.apache.archiva.components.registry.Registry registry, String propertyName, Object propertyValue)
afterConfigurationChange
in interface org.apache.archiva.components.registry.RegistryListener
public void beforeConfigurationChange(org.apache.archiva.components.registry.Registry registry, String propertyName, Object propertyValue)
beforeConfigurationChange
in interface org.apache.archiva.components.registry.RegistryListener
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.