protected static class DefaultMep.DefaultMepBuilder extends java.lang.Object implements Mep.MepBuilder
Mep
.Modifier and Type | Field and Description |
---|---|
protected boolean |
administrativeState |
protected boolean |
cciEnabled |
protected Mep.Priority |
ccmLtmPriority |
protected java.time.Duration |
defectAbsentTime |
protected java.time.Duration |
defectPresentTime |
protected DeviceId |
deviceId |
protected Mep.MepDirection |
direction |
protected Mep.FngAddress |
fngAddress |
protected Mep.LowestFaultDefect |
lowestFaultPriorityDefect |
protected MaIdShort |
maId |
protected MdId |
mdId |
protected MepId |
mepId |
protected PortNumber |
port |
protected VlanId |
primaryVid |
Modifier | Constructor and Description |
---|---|
|
DefaultMepBuilder(Mep mep) |
protected |
DefaultMepBuilder(MepId mepId,
DeviceId deviceId,
PortNumber port,
Mep.MepDirection direction,
MdId mdId,
MaIdShort maId) |
Modifier and Type | Method and Description |
---|---|
Mep.MepBuilder |
administrativeState(boolean administrativeState) |
Mep |
build() |
Mep.MepBuilder |
cciEnabled(boolean cciEnabled) |
Mep.MepBuilder |
ccmLtmPriority(Mep.Priority ccmLtmPriority) |
Mep.MepBuilder |
defectAbsentTime(java.time.Duration defectAbsentTime) |
Mep.MepBuilder |
defectPresentTime(java.time.Duration defectPresentTime) |
Mep.MepBuilder |
fngAddress(Mep.FngAddress fngAddress) |
Mep.MepBuilder |
lowestFaultPriorityDefect(Mep.LowestFaultDefect lowestFaultPriorityDefect) |
Mep.MepBuilder |
primaryVid(VlanId primaryVid) |
protected final MepId mepId
protected final DeviceId deviceId
protected final PortNumber port
protected final Mep.MepDirection direction
protected final MdId mdId
protected final MaIdShort maId
protected VlanId primaryVid
protected boolean administrativeState
protected boolean cciEnabled
protected Mep.Priority ccmLtmPriority
protected Mep.FngAddress fngAddress
protected Mep.LowestFaultDefect lowestFaultPriorityDefect
protected java.time.Duration defectPresentTime
protected java.time.Duration defectAbsentTime
protected DefaultMepBuilder(MepId mepId, DeviceId deviceId, PortNumber port, Mep.MepDirection direction, MdId mdId, MaIdShort maId) throws CfmConfigException
CfmConfigException
public DefaultMepBuilder(Mep mep)
public Mep.MepBuilder primaryVid(VlanId primaryVid)
primaryVid
in interface Mep.MepBuilder
public Mep.MepBuilder administrativeState(boolean administrativeState)
administrativeState
in interface Mep.MepBuilder
public Mep.MepBuilder cciEnabled(boolean cciEnabled)
cciEnabled
in interface Mep.MepBuilder
public Mep.MepBuilder ccmLtmPriority(Mep.Priority ccmLtmPriority)
ccmLtmPriority
in interface Mep.MepBuilder
public Mep.MepBuilder fngAddress(Mep.FngAddress fngAddress)
fngAddress
in interface Mep.MepBuilder
public Mep.MepBuilder lowestFaultPriorityDefect(Mep.LowestFaultDefect lowestFaultPriorityDefect)
lowestFaultPriorityDefect
in interface Mep.MepBuilder
public Mep.MepBuilder defectPresentTime(java.time.Duration defectPresentTime)
defectPresentTime
in interface Mep.MepBuilder
public Mep.MepBuilder defectAbsentTime(java.time.Duration defectAbsentTime)
defectAbsentTime
in interface Mep.MepBuilder
public Mep build() throws CfmConfigException
build
in interface Mep.MepBuilder
CfmConfigException