-
-
Notifications
You must be signed in to change notification settings - Fork 467
Expand file tree
/
Copy pathMavenModule.java
More file actions
62 lines (49 loc) · 1.31 KB
/
MavenModule.java
File metadata and controls
62 lines (49 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* Copyright (c) 2018 Cosmin Stejerean, Karl Heinz Marbaise, and contributors.
*
* Distributed under the MIT license: http://opensource.org/licenses/MIT
*/
package com.offbytwo.jenkins.model;
import java.io.IOException;
import java.util.List;
/**
*
* @author Karl Heinz Marbaise, Ricardo Zanini, René Scheibe, Jakub Zacek
*/
public class MavenModule extends BaseModel {
private List<MavenModuleRecord> moduleRecords;
private String name;
private String url;
private String color;
private String displayName;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public MavenModuleWithDetails details() throws IOException {
return client.get(url, MavenModuleWithDetails.class);
}
public List<MavenModuleRecord> getModuleRecords() {
return moduleRecords;
}
}