2728293031323334
public String[] snapshotListNames() throws VirtException { try { return domain.snapshotListNames(); } catch (LibvirtException e) { throw new VirtException(e); } }
3536373839404142
public int snapshotNum() throws VirtException { try { return domain.snapshotNum(); } catch (LibvirtException e) { throw new VirtException(e); } }
4344454647484950
public IDomainSnapshot snapshotLookupByName(String snapshotName) throws VirtException{ try { return new LibVirtDomainSnapshotImpl(domain.snapshotLookupByName(snapshotName)); } catch (LibvirtException e) { throw new VirtException(e); } }
5253545556575859
public void revertToSnapshot(IDomainSnapshot ds) throws VirtException{ try { DomainSnapshot snapshot = ((LibVirtDomainSnapshotImpl)ds).getSnapshot(); domain.revertToSnapshot(snapshot); } catch (LibvirtException e) { throw new VirtException(e); } }
6061626364656667
public void shutdown() throws VirtException{ try { domain.shutdown(); } catch (LibvirtException e) { throw new VirtException(e); } }
6869707172737475
public boolean isRunningOrBlocked() throws VirtException { try { return (domain.getInfo().state.equals(DomainInfo.DomainState.VIR_DOMAIN_RUNNING) || domain.getInfo().state.equals(DomainInfo.DomainState.VIR_DOMAIN_BLOCKED)); } catch (LibvirtException e) { throw new VirtException(e); } }
7677787980818283
public boolean isNotBlockedAndNotRunning() throws VirtException { try { return (domain.getInfo().state != DomainInfo.DomainState.VIR_DOMAIN_BLOCKED && domain.getInfo().state != DomainInfo.DomainState.VIR_DOMAIN_RUNNING); } catch (LibvirtException e) { throw new VirtException(e); } }
8485868788899091
public void create() throws VirtException { try { domain.create(); } catch (LibvirtException e) { throw new VirtException(e); } }
9293949596979899
public void destroy() throws VirtException { try { domain.destroy(); } catch (LibvirtException e) { throw new VirtException(e); } }
100101102103104105106107
public void suspend() throws VirtException { try { domain.suspend(); } catch (LibvirtException e) { throw new VirtException(e); } }