blob: 9377421c3fcfddc47289d929cb43233c0159bfcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package org.openslx.libvirt.domain.device;
/**
* Addressable source operations for a hostdev device.
*
* @author Manuel Bentele
* @version 1.0
*
* @param <T> type of the source.
*/
public abstract interface HostdevAddressableSource<T>
{
/**
* Returns the source of the source device (on the Libvirt host).
*
* @return source of the source device (on the Libvirt host).
*/
public T getSource();
/**
* Sets the source for the source device (on the Libvirt host).
*
* @param source source for the source device (on the Libvirt host).
*/
public void setSource( T source );
}
|