• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2017 Google Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package trebuchet.model
18 
19 enum class SchedulingState(val friendlyName: String) {
20     DEBUG("Debug"),
21     EXIT_DEAD("Exit Dead"),
22     RUNNABLE("Runnable"),
23     RUNNING("Running"),
24     SLEEPING("Sleeping"),
25     STOPPED("Stopped"),
26     TASK_DEAD("Task Dead"),
27     UNINTR_SLEEP("Uninterruptible Sleep"),
28     UNINTR_SLEEP_WAKE_KILL("Uninterruptible Sleep | WakeKill"),
29     UNINTR_SLEEP_WAKING("Uninterruptible Sleep | Waking"),
30     UNINTR_SLEEP_IO("Uninterruptible Sleep - Block I/O"),
31     UNINTR_SLEEP_WAKE_KILL_IO("Uninterruptible Sleep | WakeKill - Block I/O"),
32     UNINTR_SLEEP_WAKING_IO("Uninterruptible Sleep | Waking - Block I/O"),
33     UNKNOWN("UNKNOWN"),
34     WAKE_KILL("Wakekill"),
35     WAKING("Waking"),
36     ZOMBIE("Zombie"),
37 }