Poging tot het flexibel laten werken van devices met features. Zou moeten werken via een enum, maar lukt nog niet.
This commit is contained in:
11
java/src/pm/device/Features.java
Normal file
11
java/src/pm/device/Features.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package pm.device;
|
||||
|
||||
import pm.device.feature.Feature;
|
||||
import pm.device.feature.Restart;
|
||||
|
||||
public enum Features {
|
||||
Restart ((Class<Restart>)Restart.class);
|
||||
|
||||
Features(Class<Feature> feature) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user