| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2013 Ericsson, Ecole Polytechnique de Montreal and others |
| 3 | * |
| 4 | * All rights reserved. This program and the accompanying materials are made |
| 5 | * available under the terms of the Eclipse Public License v1.0 which |
| 6 | * accompanies this distribution, and is available at |
| 7 | * http://www.eclipse.org/legal/epl-v10.html |
| 8 | * |
| 9 | * Contributors: |
| 10 | * Ansgar Radermacher - support for model URI |
| 11 | * Patrick Tasse - context strings |
| 12 | *******************************************************************************/ |
| 13 | |
| 14 | package org.eclipse.linuxtools.tmf.core.ctfadaptor; |
| 15 | |
| 16 | /** |
| 17 | * Set of constants used by the CTF adaptor classes |
| 18 | * |
| 19 | * @since 2.0 |
| 20 | */ |
| 21 | @SuppressWarnings("nls") |
| 22 | public interface CtfConstants { |
| 23 | |
| 24 | /* |
| 25 | * Context strings |
| 26 | */ |
| 27 | |
| 28 | /** Prefix for context information stored as CtfTmfEventfield */ |
| 29 | public static final String CONTEXT_FIELD_PREFIX = "context."; |
| 30 | |
| 31 | /** Key for ip field */ |
| 32 | public static final String IP_KEY = "_ip"; |
| 33 | |
| 34 | /* |
| 35 | * Custom attributes names (key within hash table) |
| 36 | */ |
| 37 | |
| 38 | /** Model URI for traces related to EMF models */ |
| 39 | public final static String MODEL_URI_KEY = "model.emf.uri"; |
| 40 | } |