summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/libvirt/domain/device/HostdevAddressableTarget.java
blob: 8a6f9a1ed8a151594876d677e104e5171d58c3b2 (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 target operations for a hostdev device.
 * 
 * @author Manuel Bentele
 * @version 1.0
 *
 * @param <T> type of the target.
 */
public abstract interface HostdevAddressableTarget<T>
{
	/**
	 * Returns the target of the target device (in the virtual machine).
	 * 
	 * @return target of the target device (in the virtual machine).
	 */
	public T getTarget();

	/**
	 * Sets the target for the target device (in the virtual machine).
	 * 
	 * @param target target for the target device (in the virtual machine).
	 */
	public void setTarget( T target );
}