1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 Ericsson
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
10 * Simon Delisle - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.core
.event
;
17 import org
.eclipse
.jdt
.annotation
.NonNullByDefault
;
18 import org
.eclipse
.jdt
.annotation
.Nullable
;
21 * Interface for events to implement to provide information about custom
24 * @author Simon Delisle
27 public interface ITmfCustomAttributes
{
30 * List the custom attributes of this event.
32 * @return The list of custom attribute names. Should not be null, but could
35 Set
<String
> listCustomAttributes();
38 * Get the value of a custom attribute.
41 * Name of the the custom attribute
42 * @return Value of this attribute, or null if there is no attribute with
45 @Nullable String
getCustomAttribute(String name
);
This page took 0.045198 seconds and 5 git commands to generate.