View Javadoc

1   package fr.in2p3.jsaga.impl.monitoring;
2   
3   /* ***************************************************
4   * *** Centre de Calcul de l'IN2P3 - Lyon (France) ***
5   * ***             http://cc.in2p3.fr/             ***
6   * ***************************************************
7   * File:   MetricType
8   * Author: Sylvain Reynaud (sreynaud@in2p3.fr)
9   * Date:   11 janv. 2008
10  * ***************************************************
11  * Description:                                      */
12  /**
13   *
14   */
15  public enum MetricType {
16      String (1),
17      Int (2),
18      Enum (3),
19      Float (4),
20      Bool (5),
21      Time (6),
22      Trigger (7);
23  
24      private int value;
25  
26      MetricType(int value) {
27          this.value = value;
28      }
29  
30      public int value() {
31          return value;
32      }
33  }