blob: a15f36f273a4fe8cd6542dea0a5c1db20daa3354 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package de.bwlehrpool.bwlp_guac;
import org.apache.guacamole.GuacamoleException;
import org.apache.guacamole.form.Field;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
/**
* Field which lets the user select a group.
*/
public class GroupField extends Field {
public GroupField() {
super("group", "GROUP");
}
@JsonProperty("groups")
public Collection<JsonGroup> getGroups() throws GuacamoleException {
return ConnectionManager.getGroupList();
}
}
|