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.
|
java.util.Optional<java.lang.String> |
deviceId()
Returns the identifier of the device where this patch interface is.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
ifaceName()
Return the name of the patch interface.
|
java.lang.String |
peer()
Returns the name of the interface for the other side of the patch.
|
java.lang.String |
toString() |
annotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationspublic java.util.Optional<java.lang.String> deviceId()
PatchDescriptiondeviceId in interface PatchDescriptionpublic java.lang.String ifaceName()
PatchDescriptionifaceName in interface PatchDescriptionpublic java.lang.String peer()
PatchDescriptionpeer in interface PatchDescriptionpublic int hashCode()
hashCode in class AbstractDescriptionpublic boolean equals(java.lang.Object obj)
equals in class AbstractDescriptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic static DefaultPatchDescription.Builder builder()