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() |
annotations
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
annotations
public java.util.Optional<java.lang.String> deviceId()
PatchDescription
deviceId
in interface PatchDescription
public java.lang.String ifaceName()
PatchDescription
ifaceName
in interface PatchDescription
public java.lang.String peer()
PatchDescription
peer
in interface PatchDescription
public int hashCode()
hashCode
in class AbstractDescription
public boolean equals(java.lang.Object obj)
equals
in class AbstractDescription
public java.lang.String toString()
toString
in class java.lang.Object
public static DefaultPatchDescription.Builder builder()