diff options
author | Victor Mocanu | 2017-11-20 15:16:54 +0100 |
---|---|---|
committer | Victor Mocanu | 2017-11-20 15:16:54 +0100 |
commit | 1967876ea2e8340a95d424ef873a4ab4e53e4a57 (patch) | |
tree | adcb35fc3179e9863f196c8f5611d2753dee39a9 /src/main/java/org/openslx/util/vm/VmMetaData.java | |
parent | [VBox] setter for the 3dacceleration works now, added new hardwareversion enu... (diff) | |
download | master-sync-shared-1967876ea2e8340a95d424ef873a4ab4e53e4a57.tar.gz master-sync-shared-1967876ea2e8340a95d424ef873a4ab4e53e4a57.tar.xz master-sync-shared-1967876ea2e8340a95d424ef873a4ab4e53e4a57.zip |
[VBox] improved and expanded the setters and getters for the enum types
removed debug messages
Diffstat (limited to 'src/main/java/org/openslx/util/vm/VmMetaData.java')
-rw-r--r-- | src/main/java/org/openslx/util/vm/VmMetaData.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main/java/org/openslx/util/vm/VmMetaData.java b/src/main/java/org/openslx/util/vm/VmMetaData.java index ba9c357..5acfa3b 100644 --- a/src/main/java/org/openslx/util/vm/VmMetaData.java +++ b/src/main/java/org/openslx/util/vm/VmMetaData.java @@ -32,7 +32,7 @@ public abstract class VmMetaData<T, U, V, W> /** * All the available virtual Sound Cards that are supported by VmxPlayer and VBoxPlayer - * <add further entries when incorporating other Virtualizers> + * <add further entries when incorporating other Hypervisors> * @author victorm * */ @@ -42,7 +42,8 @@ public abstract class VmMetaData<T, U, V, W> DEFAULT( "(default)" ), SOUND_BLASTER( "Sound Blaster 16" ), ES( "ES 1371" ), - HD_AUDIO( "Intel Integrated HD Audio" ); + HD_AUDIO( "Intel Integrated HD Audio" ), + AC( "Intel ICH Audio Codec 97"); public final String displayName; @@ -54,7 +55,7 @@ public abstract class VmMetaData<T, U, V, W> /** * All the available settings for the 3D acceleration that are supported by VmxPlayer and VBoxPlayer - * <add further entries when incorporating other Virtualizers> + * <add further entries when incorporating other Hypervisors> * @author victorm * */ @@ -73,7 +74,7 @@ public abstract class VmMetaData<T, U, V, W> /** * All the available virtual Hardware Versions that are supported by VmxPlayer and VBoxPlayer - * <add further entries when incorporating other Virtualizers> + * <add further entries when incorporating other Hypervisors> * @author victorm * */ @@ -102,7 +103,7 @@ public abstract class VmMetaData<T, U, V, W> /** * All the available virtual Network Cards that are supported by VmxPlayer and VBoxPlayer - * <add further entries when incorporating other Virtualizers> + * <add further entries when incorporating other Hypervisors> * @author victorm * */ @@ -281,7 +282,7 @@ public abstract class VmMetaData<T, U, V, W> public abstract void applySettingsForLocalEdit(); // meta object needed when reading vm from file - public static VmMetaData getInstance( List<OperatingSystem> osList, File file ) throws IOException + public static VmMetaData<?,?,?,?> getInstance( List<OperatingSystem> osList, File file ) throws IOException { try { return new VmwareMetaData( osList, file ); @@ -298,7 +299,7 @@ public abstract class VmMetaData<T, U, V, W> } // meta object needed when reading from configarray - public static VmMetaData getInstance( List<OperatingSystem> osList, byte[] vmContent, int length ) throws IOException + public static VmMetaData<?,?,?,?> getInstance( List<OperatingSystem> osList, byte[] vmContent, int length ) throws IOException { try { return new VmwareMetaData( osList, vmContent, length ); |