/*******************************************************************************
* Copyright (c) 2005, 2017 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*******************************************************************************/
package org.eclipse.dltk.dbgp.internal.breakpoints;
import org.eclipse.dltk.dbgp.breakpoints.IDbgpConditionalBreakpoint;
public class DbgpConditionalBreakpoint extends DbgpBreakpoint
implements IDbgpConditionalBreakpoint {
private final String expression;
public DbgpConditionalBreakpoint(String id, boolean enabled, int hitValue,
int hitCount, String hitCondition, String expression) {
super(id, enabled, hitValue, hitCount, hitCondition);
this.expression = expression;
}
@Override
public String getExpression() {
return expression;
}
}