Commit | Line | Data |
---|---|---|
60fb38b8 PT |
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 | ||
2bdf0193 | 14 | package org.eclipse.tracecompass.tmf.ctf.core; |
60fb38b8 | 15 | |
6fd3c6e9 MAL |
16 | import org.eclipse.core.runtime.QualifiedName; |
17 | ||
60fb38b8 PT |
18 | /** |
19 | * Set of constants used by the CTF adaptor classes | |
20 | * | |
21 | * @since 2.0 | |
6fd3c6e9 | 22 | * @noimplement This interface is not intended to be implemented by clients. |
60fb38b8 PT |
23 | */ |
24 | @SuppressWarnings("nls") | |
25 | public interface CtfConstants { | |
26 | ||
27 | /* | |
28 | * Context strings | |
29 | */ | |
30 | ||
31 | /** Prefix for context information stored as CtfTmfEventfield */ | |
32 | public static final String CONTEXT_FIELD_PREFIX = "context."; | |
33 | ||
34 | /** Key for ip field */ | |
35 | public static final String IP_KEY = "_ip"; | |
36 | ||
37 | /* | |
38 | * Custom attributes names (key within hash table) | |
39 | */ | |
40 | ||
41 | /** Model URI for traces related to EMF models */ | |
6fd3c6e9 MAL |
42 | public final String MODEL_URI_KEY = "model.emf.uri"; |
43 | ||
44 | /** | |
45 | * The host persistent property for the live session. | |
46 | * | |
47 | * @since 3.1 | |
48 | */ | |
49 | QualifiedName LIVE_HOST = new QualifiedName("org.eclipse.linuxtools.tmf.ctf.core", "live.host"); //$NON-NLS-1$//$NON-NLS-2$ | |
50 | ||
51 | /** | |
52 | * The port persistent property for the live session. | |
53 | * | |
54 | * @since 3.1 | |
55 | */ | |
56 | QualifiedName LIVE_PORT = new QualifiedName("org.eclipse.linuxtools.tmf.ctf.core", "live.port"); //$NON-NLS-1$//$NON-NLS-2$ | |
57 | ||
58 | /** | |
59 | * The live session name persistent property. | |
60 | * | |
61 | * @since 3.1 | |
62 | */ | |
63 | QualifiedName LIVE_SESSION_NAME = new QualifiedName("org.eclipse.linuxtools.tmf.ctf.core", "live.session.name"); //$NON-NLS-1$//$NON-NLS-2$; | |
60fb38b8 | 64 | } |