You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/AnnotationCategoriesModel.java
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/Bookmark.java
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/Configuration.java
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/ConfigurationParameterDescriptor.java
* Contributes to the model used for TSP swagger-core annotations.
@@ -24,24 +25,24 @@ public interface ConfigurationParameterDescriptor {
24
25
/**
25
26
* @return the name of the configuration parameter
26
27
*/
27
-
@Schema(description = "The unique key name of the configuration parameter")
28
+
@Schema(description = "The unique key name of the configuration parameter", requiredMode = RequiredMode.REQUIRED)
28
29
StringgetKeyName();
29
30
30
31
/**
31
-
* @return the ID for of the configuration parameter
32
+
* @return data type hint of the configuration parameter
32
33
*/
33
-
@Schema(description = "The data type hint of the configuration parameter")
34
+
@Schema(description = "Optional data type hint of the configuration parameter. For example, use NUMBER for numbers, or STRING as strings. If omitted assume the default value is STRING.")
34
35
StringgetDataType();
35
36
36
37
/**
37
38
* @return a short description of this configuration parameter
38
39
*/
39
-
@Schema(description = "Describes the configuration parameter")
40
+
@Schema(description = "Optional, describes the configuration parameter")
40
41
StringgetDescription();
41
42
42
43
/**
43
44
* @return true if parameter is required else false.
44
45
*/
45
-
@Schema(description = "A flag indicating whether the configuration parameter is required or not")
46
+
@Schema(description = "Optional flag indicating whether the configuration parameter is required or not. If ommitted the default value is false.")
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/ConfigurationSourceType.java
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/DataProvider.java
* Contributes to the model used for TSP swagger-core annotations.
@@ -28,13 +29,13 @@ enum ProviderType {
28
29
/**
29
30
* @return The name.
30
31
*/
31
-
@Schema(description = "The human readable name")
32
+
@Schema(description = "The human readable name", requiredMode = RequiredMode.REQUIRED)
32
33
StringgetName();
33
34
34
35
/**
35
36
* @return The ID.
36
37
*/
37
-
@Schema(description = "The output provider's ID")
38
+
@Schema(description = "The output provider's ID", requiredMode = RequiredMode.REQUIRED)
38
39
StringgetId();
39
40
40
41
/**
@@ -46,13 +47,14 @@ enum ProviderType {
46
47
"Providers of type DATA_TREE only provide a tree with columns and don't have any XY nor time graph data associated with it. " +
47
48
"Providers of type GANTT_CHART use the same endpoint as TIME_GRAPH, but have a different x-axis (duration, page faults, etc.), with their own separate ranges. " +
48
49
"Providers of type TREE_GENERIC_XY supports XY view with non-time x-axis. " +
49
-
"Providers of type NONE have no data to visualize. Can be used for grouping purposes and/or as data provider configurator.")
50
+
"Providers of type NONE have no data to visualize. Can be used for grouping purposes and/or as data provider configurator.",
51
+
requiredMode = RequiredMode.REQUIRED)
50
52
ProviderTypegetType();
51
53
52
54
/**
53
55
* @return The description.
54
56
*/
55
-
@Schema(description = "Describes the output provider's features")
57
+
@Schema(description = "Describes the output provider's features", requiredMode = RequiredMode.REQUIRED)
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/Experiment.java
* Contributes to the model used for TSP swagger-core annotations.
@@ -28,43 +29,43 @@ public interface Experiment {
28
29
/**
29
30
* @return The name.
30
31
*/
31
-
@Schema(description = "User defined name for the experiment")
32
+
@Schema(description = "User defined name for the experiment", requiredMode = RequiredMode.REQUIRED)
32
33
StringgetName();
33
34
34
35
/**
35
36
* @return The UUID.
36
37
*/
37
38
@JsonProperty("UUID")
38
-
@Schema(description = "The experiment's unique identifier")
39
+
@Schema(description = "The experiment's unique identifier", requiredMode = RequiredMode.REQUIRED)
39
40
UUIDgetUUID();
40
41
41
42
/**
42
43
* @return The number of events.
43
44
*/
44
-
@Schema(description = "Current number of indexed events in the experiment")
45
+
@Schema(description = "Current number of indexed events in the experiment", requiredMode = RequiredMode.REQUIRED)
45
46
longgetNbEvents();
46
47
47
48
/**
48
49
* @return The start time.
49
50
*/
50
-
@Schema(description = "The experiment's start time")
51
+
@Schema(description = "The experiment's start time", requiredMode = RequiredMode.REQUIRED)
51
52
longgetStart();
52
53
53
54
/**
54
55
* @return The end time.
55
56
*/
56
-
@Schema(description = "The experiment's end time")
57
+
@Schema(description = "The experiment's end time", requiredMode = RequiredMode.REQUIRED)
57
58
longgetEnd();
58
59
59
60
/**
60
61
* @return The indexing status.
61
62
*/
62
-
@Schema(description = "Status of the experiment indexing")
63
+
@Schema(description = "Status of the experiment indexing", requiredMode = RequiredMode.REQUIRED)
63
64
IndexingStatusgetIndexingStatus();
64
65
65
66
/**
66
67
* @return The traces.
67
68
*/
68
-
@ArraySchema(arraySchema = @Schema(description = "The traces encapsulated by this experiment"))
69
+
@ArraySchema(arraySchema = @Schema(description = "The traces encapsulated by this experiment"), schema = @Schema(requiredMode = RequiredMode.REQUIRED))
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/GenericResponse.java
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/MarkerSet.java
Copy file name to clipboardExpand all lines: trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/model/OutputElementStyle.java
0 commit comments