analysis: Move plugins to their own sub-directory
[deliverable/tracecompass.git] / analysis / org.eclipse.tracecompass.analysis.os.linux.core / src / org / eclipse / tracecompass / analysis / os / linux / core / event / aspect / LinuxTidAspect.java
1 /*******************************************************************************
2 * Copyright (c) 2015 École Polytechnique de Montréal
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made 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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.analysis.os.linux.core.event.aspect;
14
15 import org.eclipse.jdt.annotation.Nullable;
16 import org.eclipse.tracecompass.tmf.core.event.ITmfEvent;
17 import org.eclipse.tracecompass.tmf.core.event.aspect.ITmfEventAspect;
18
19 /**
20 * This aspect finds the ID of the thread that is running when the event
21 * occurred.
22 *
23 * @author Geneviève Bastien
24 * @since 1.0
25 */
26 public abstract class LinuxTidAspect implements ITmfEventAspect {
27
28 @Override
29 public final String getName() {
30 return Messages.getMessage(Messages.AspectName_Tid);
31 }
32
33 @Override
34 public final String getHelpText() {
35 return Messages.getMessage(Messages.AspectHelpText_Tid);
36 }
37
38 @Override
39 public abstract @Nullable Integer resolve(ITmfEvent event);
40
41 }
This page took 0.036776 seconds and 5 git commands to generate.