1   /* Copyright 2002-2025 CS GROUP
2    * Licensed to CS GROUP (CS) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * CS licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *   http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.orekit.files.ccsds.ndm.odm.ocm;
18  
19  /** Operational status used in CCSDS {@link Ocm Orbit Comprehensive Messages}.
20   * @author Luc Maisonobe
21   * @since 11.0
22   */
23  public enum OpsStatus {
24  
25      /** Operational object. */
26      OPERATIONAL("Operational"),
27  
28      /** Non-operational object. */
29      NONOPERATIONAL("Non-operational"),
30  
31      /** partially operational object. */
32      PARTIALLY_OPERATIONAL("Partially operational"),
33  
34      /** Backup object. */
35      BACKUP("Backup"),
36  
37      /** Object in stand-by. */
38      STANBY("Stand-by"),
39  
40      /** Object in extended mission. */
41      EXTENDED_MISSION("Extended mission"),
42  
43      /** Object in reentry mode. */
44      REENTRY_MODE("Reentry mode"),
45  
46      /** Decayed object. */
47      DECAYED("Decayed"),
48  
49      /** Unknown status. */
50      UNKNOWN("Unknown");
51  
52      /** Description. */
53      private final String description;
54  
55      /** Simple constructor.
56       * @param description description
57       */
58      OpsStatus(final String description) {
59          this.description = description;
60      }
61  
62      /** {@inheritDoc} */
63      @Override
64      public String toString() {
65          return description;
66      }
67  
68  }