* @since 3.0.0
*/
final class WsBreakpointBuilder {
public static Breakpoint build(org.jitterbit.integration.debug.client.Breakpoint bp) {
Breakpoint wsBreakpoint = new Breakpoint();
wsBreakpoint.setLocation(WsBreakLocationBuilder.build(bp.getLocation()));
wsBreakpoint.setConditionScript(bp.getConditionScript());
wsBreakpoint.setConditionVariables(WsKeyValuePairsBuilder.build(bp.getConditionVariables()));
return wsBreakpoint;
}