![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
VerificationOutput | toVerificationOutput (FlowVerificationResponse response) |
FlowReroutePayload | toReroutePayload (String flowId, PathInfoData path, boolean rerouted) |
FlowIdStatusPayload | toFlowIdStatusPayload (BidirectionalFlow flow) |
FlowPathPayload | toFlowPathPayload (BidirectionalFlow flow) |
default FlowPayload | toFlowPayload (Flow flow) |
default List< PathNodePayload > | toPathNodePayloadList (Flow flow) |
default String | getVerificationError (FlowVerificationErrorCode error) |
Definition at line 40 of file FlowMapper.java.
default String org.openkilda.northbound.converter.FlowMapper.getVerificationError | ( | FlowVerificationErrorCode | error | ) |
Translate Java's error code(enum) into human readable string.
Definition at line 112 of file FlowMapper.java.
FlowIdStatusPayload org.openkilda.northbound.converter.FlowMapper.toFlowIdStatusPayload | ( | BidirectionalFlow | flow | ) |
FlowPathPayload org.openkilda.northbound.converter.FlowMapper.toFlowPathPayload | ( | BidirectionalFlow | flow | ) |
default FlowPayload org.openkilda.northbound.converter.FlowMapper.toFlowPayload | ( | Flow | flow | ) |
Converts Flow to FlowPayload.
Definition at line 67 of file FlowMapper.java.
default List<PathNodePayload> org.openkilda.northbound.converter.FlowMapper.toPathNodePayloadList | ( | Flow | flow | ) |
Makes flow path as list of PathNodePayload representation by a Flow instance. Includes input and output nodes.
flow | the Flow instance. |
Definition at line 92 of file FlowMapper.java.
FlowReroutePayload org.openkilda.northbound.converter.FlowMapper.toReroutePayload | ( | String | flowId, |
PathInfoData | path, | ||
boolean | rerouted | ||
) |
VerificationOutput org.openkilda.northbound.converter.FlowMapper.toVerificationOutput | ( | FlowVerificationResponse | response | ) |