forked from aws-samples/eb-java-scorekeep
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRules.java
More file actions
56 lines (45 loc) · 1.08 KB
/
Rules.java
File metadata and controls
56 lines (45 loc) · 1.08 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
package scorekeep;
public class Rules {
private final String id;
private final String name;
private final String[] categories;
private final Integer[] users;
private final Integer teams;
private final String[] phases;
private final String[] moves;
private final String initialState;
public Rules(String id, String name, String[] categories, Integer[] users, Integer teams, String[] phases, String[] moves, String initialState) {
this.id = id;
this.name = name;
this.categories = categories;
this.users = users;
this.teams = teams;
this.phases = phases;
this.moves = moves;
this.initialState = initialState;
}
public String getId() {
return id;
}
public String getName() {
return name;
}
public String[] getCategories() {
return categories;
}
public Integer[] getUsers() {
return users;
}
public Integer getTeams() {
return teams;
}
public String[] getPhases() {
return phases;
}
public String[] getMoves() {
return moves;
}
public String getInitialState() {
return initialState;
}
}