mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-01 04:09:08 +01:00
improve plugin scan performance
This commit is contained in:
@@ -70,6 +70,17 @@ public class BackendConfiguration
|
||||
return directories;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public Set<String> getExcludes()
|
||||
{
|
||||
return excludes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
@@ -116,6 +127,17 @@ public class BackendConfiguration
|
||||
this.directories = directories;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @param excludes
|
||||
*/
|
||||
public void setExcludes(Set<String> excludes)
|
||||
{
|
||||
this.excludes = excludes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
@@ -156,6 +178,11 @@ public class BackendConfiguration
|
||||
@XmlElementWrapper(name = "directories")
|
||||
private Set<File> directories;
|
||||
|
||||
/** Field description */
|
||||
@XmlElement(name = "exclude")
|
||||
@XmlElementWrapper(name = "excludes")
|
||||
private Set<String> excludes;
|
||||
|
||||
/** Field description */
|
||||
private boolean multithreaded = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user