21 lines
365 B
Java
21 lines
365 B
Java
|
public class ServerType {
|
||
|
private String name;
|
||
|
private ArrayList<String> versions;
|
||
|
|
||
|
public ServerType(String name, ArrayList<String> versions) {
|
||
|
this.name = name;
|
||
|
this.versions = versions;
|
||
|
}
|
||
|
|
||
|
public String getName() {
|
||
|
return this.name;
|
||
|
}
|
||
|
|
||
|
public ArrayList<String> getVersions() {
|
||
|
return this.versions;
|
||
|
}
|
||
|
|
||
|
public boolean validVersion() {
|
||
|
|
||
|
}
|
||
|
}
|