2
0

WIP - JSON mpsites serialization.

This commit is contained in:
Maarten Billemont
2018-05-03 13:49:34 +02:00
parent cb74b1f3fc
commit 1031414ba2
11 changed files with 378 additions and 31 deletions

View File

@@ -174,6 +174,11 @@ public enum MPResultType {
return typeFeatures;
}
public boolean supportsTypeFeature(final MPSiteFeature feature) {
return typeFeatures.contains( feature );
}
public int getType() {
int mask = typeIndex | typeClass.getMask();
for (final MPSiteFeature typeFeature : typeFeatures)