public final class DefaultPatchDescription extends AbstractDescription implements PatchDescription
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultPatchDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefaultPatchDescription.Builder |
builder()
Returns new builder instance.
|
Optional<String> |
deviceId()
Returns the identifier of the device where this patch interface is.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
ifaceName()
Return the name of the patch interface.
|
String |
peer()
Returns the name of the interface for the other side of the patch.
|
String |
toString() |
annotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationspublic Optional<String> deviceId()
PatchDescriptiondeviceId in interface PatchDescriptionpublic String ifaceName()
PatchDescriptionifaceName in interface PatchDescriptionpublic String peer()
PatchDescriptionpeer in interface PatchDescriptionpublic int hashCode()
hashCode in class AbstractDescriptionpublic boolean equals(Object obj)
equals in class AbstractDescriptionpublic static DefaultPatchDescription.Builder builder()