blob: 5f21c22fc4f29bba1b6581e0a42c2c08679ece55 (
plain) (
blame)
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
|
package org.openslx.bwlp.sat;
import org.openslx.sat.thrift.version.Feature;
public class SupportedFeatures {
private static String supportedFeatures = null;
static {
registerFeature(Feature.EXTEND_EXPIRED_VM);
registerFeature(Feature.NETWORK_SHARES);
registerFeature(Feature.MULTIPLE_HYPERVISORS);
registerFeature(Feature.SERVER_SIDE_COPY);
registerFeature(Feature.LECTURE_FILTER_LDAP);
}
public static String getFeatureString() {
return supportedFeatures;
}
private static void registerFeature(Feature feature) {
if (supportedFeatures == null) {
supportedFeatures = feature.name();
} else {
supportedFeatures += " " + feature.name();
}
}
}
|