public class LibvirtUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAvailable()
Checks whether vmmgmt classes can be run on the current platform, ie. whether libvirt is available.
|
public static boolean isAvailable()
Beware! In order for this function to work, the class must NOT reference any libvirt classes!
The static initialization might trigger an error due to a try to load the library without
catching the error. If you are using this with junit's assume functions, put it into
a static function annotated with BeforeClass.
Copyright © 2016 Github jjYBdx4IL Projects. All rights reserved.