public abstract class Device extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Device.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
driveUuid |
protected MediaType |
mediaType |
| Constructor and Description |
|---|
Device(String driveUuid,
MediaType mediaType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDriveUuid() |
abstract String |
getId()
id generated based on the device bus, unit, and/or index numbers;
|
MediaType |
getMediaType() |
int |
hashCode() |
String |
toString() |
protected final String driveUuid
protected final MediaType mediaType
public abstract String getId()
public String getDriveUuid()
public MediaType getMediaType()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.