org.chromium.sdk/src/org/chromium/sdk/internal/protocol/BreakEventBody.java
changeset 2 e4420d2515f1
equal deleted inserted replaced
1:ef76fc2ac88c 2:e4420d2515f1
       
     1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
       
     2 // Use of this source code is governed by a BSD-style license that can be
       
     3 // found in the LICENSE file.
       
     4 
       
     5 package org.chromium.sdk.internal.protocol;
       
     6 
       
     7 import java.util.List;
       
     8 
       
     9 import org.chromium.sdk.internal.protocol.data.ValueHandle;
       
    10 import org.chromium.sdk.internal.protocolparser.JsonField;
       
    11 import org.chromium.sdk.internal.protocolparser.JsonOptionalField;
       
    12 import org.chromium.sdk.internal.protocolparser.JsonSubtype;
       
    13 import org.chromium.sdk.internal.protocolparser.JsonType;
       
    14 import org.json.simple.JSONObject;
       
    15 
       
    16 @JsonType
       
    17 public interface BreakEventBody extends JsonSubtype<EventNotificationBody> {
       
    18 
       
    19   @JsonOptionalField
       
    20   List<Long> getBreakpoints();
       
    21 
       
    22   @JsonOptionalField
       
    23   ValueHandle getException();
       
    24 
       
    25   @JsonOptionalField
       
    26   String getSourceLineText();
       
    27 
       
    28   @JsonOptionalField
       
    29   @JsonField(jsonLiteralName="uncaught")
       
    30   Boolean isUncaught();
       
    31 
       
    32   @JsonOptionalField
       
    33   Long getSourceLine();
       
    34 
       
    35   @JsonOptionalField
       
    36   String getInvocationText();
       
    37 
       
    38   @JsonOptionalField
       
    39   JSONObject getScript();
       
    40 
       
    41   @JsonOptionalField
       
    42   Long getSourceColumn();
       
    43 }