lttng: Use interfaces for constant definitions
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.core / src / org / eclipse / linuxtools / internal / lttng2 / kernel / core / StateValues.java
index 47645789f9a61a69419d1c25ecf22a96f0a0aa6d..928d67a0c5838dfbc7c954bf649f9388b467aa47 100644 (file)
@@ -21,23 +21,23 @@ package org.eclipse.linuxtools.internal.lttng2.kernel.core;
  *
  */
 @SuppressWarnings("javadoc")
-public class StateValues {
+public interface StateValues {
 
     /* CPU Status */
-    public static final int CPU_STATUS_IDLE = 0;
-    public static final int CPU_STATUS_RUN_USERMODE = 1;
-    public static final int CPU_STATUS_RUN_SYSCALL = 2;
-    public static final int CPU_STATUS_IRQ = 3;
-    public static final int CPU_STATUS_SOFTIRQ = 4;
+    static final int CPU_STATUS_IDLE = 0;
+    static final int CPU_STATUS_RUN_USERMODE = 1;
+    static final int CPU_STATUS_RUN_SYSCALL = 2;
+    static final int CPU_STATUS_IRQ = 3;
+    static final int CPU_STATUS_SOFTIRQ = 4;
 
     /* Process status */
-    public static final int PROCESS_STATUS_UNKNOWN = 0;
-    public static final int PROCESS_STATUS_WAIT_BLOCKED = 1;
-    public static final int PROCESS_STATUS_RUN_USERMODE = 2;
-    public static final int PROCESS_STATUS_RUN_SYSCALL = 3;
-    public static final int PROCESS_STATUS_INTERRUPTED = 4;
-    public static final int PROCESS_STATUS_WAIT_FOR_CPU = 5;
+    static final int PROCESS_STATUS_UNKNOWN = 0;
+    static final int PROCESS_STATUS_WAIT_BLOCKED = 1;
+    static final int PROCESS_STATUS_RUN_USERMODE = 2;
+    static final int PROCESS_STATUS_RUN_SYSCALL = 3;
+    static final int PROCESS_STATUS_INTERRUPTED = 4;
+    static final int PROCESS_STATUS_WAIT_FOR_CPU = 5;
 
     /* SoftIRQ-specific stuff. -1: null/disabled, >= 0: running on that CPU */
-    public static final int SOFT_IRQ_RAISED = -2;
+    static final int SOFT_IRQ_RAISED = -2;
 }
This page took 0.02488 seconds and 5 git commands to generate.