Restructure code to make it less triage-specific

This commit is contained in:
Andy Wilkinson
2015-12-07 15:38:16 +00:00
parent c0c4e2d901
commit d19f043c41
36 changed files with 414 additions and 438 deletions

View File

@@ -32,21 +32,16 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
@Getter
@Setter
@ConfigurationProperties(prefix = "issuebot.triage")
public class TriageProperties {
class TriageProperties {
/**
* Repositories that will be monitored.
* The names of the project collaborators whose issues do not require triage.
*/
private List<MonitoredRepository> repositories;
private List<String> collaborators;
/**
* GitHub username.
* The name of the label that should be applied to issues that are waiting for triage.
*/
private String username;
/**
* GitHub password.
*/
private String password;
private String label;
}