-
Notifications
You must be signed in to change notification settings - Fork 9
/
TraceQueryParameters.java
44 lines (36 loc) · 1.29 KB
/
TraceQueryParameters.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**********************************************************************
* Copyright (c) 2021 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.tracecompass.incubator.internal.trace.server.jersey.rest.core.model;
import org.eclipse.jdt.annotation.NonNull;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Contributes to the model used for TSP swagger-core annotations.
*/
public interface TraceQueryParameters {
/**
* @return The name.
*/
@Schema(description = "The name of the trace in the server, to override the default name")
String getName();
/**
* @return The type ID.
*/
@Schema(description = "The trace type's ID, to force the use of a parser / disambiguate the trace type")
String getTypeID();
/**
* @return The URI.
*/
@JsonProperty("URI")
@NonNull
@Schema(description = "URI of the trace", required = true)
String getUri();
}