public static Type forNumber(int value) {
            switch (value) {
              case 1: return BUILD;
              case 2: return CLEAN;
              case 3: return UP_TO_DATE_CHECK;
              default: return null;
            }
          }
public static Type forNumber(int value)