added support for 1.0.0-rc1 in WatcherVersion

Original commit: elastic/x-pack-elasticsearch@02c018c0b9
This commit is contained in:
uboness 2015-06-19 15:51:22 +02:00
parent fa57b2c78e
commit 5766c64f94
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,8 @@ public class WatcherVersion implements Serializable {
public static final WatcherVersion V_1_0_0_Beta1 = new WatcherVersion(V_1_0_0_Beta1_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0); public static final WatcherVersion V_1_0_0_Beta1 = new WatcherVersion(V_1_0_0_Beta1_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0);
public static final int V_1_0_0_Beta2_ID = /*00*/1000002; public static final int V_1_0_0_Beta2_ID = /*00*/1000002;
public static final WatcherVersion V_1_0_0_Beta2 = new WatcherVersion(V_1_0_0_Beta2_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0); public static final WatcherVersion V_1_0_0_Beta2 = new WatcherVersion(V_1_0_0_Beta2_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0);
public static final int V_1_0_0_RC1_ID = /*00*/1000051;
public static final WatcherVersion V_1_0_0_RC1 = new WatcherVersion(V_1_0_0_RC1_ID, false, Version.V_1_5_0, LicenseVersion.V_1_0_0);
public static final int V_2_0_0_Beta1_ID = /*00*/200001; public static final int V_2_0_0_Beta1_ID = /*00*/200001;
public static final WatcherVersion V_2_0_0_Beta1 = new WatcherVersion(V_2_0_0_Beta1_ID, true, Version.V_1_5_0, LicenseVersion.V_2_0_0); public static final WatcherVersion V_2_0_0_Beta1 = new WatcherVersion(V_2_0_0_Beta1_ID, true, Version.V_1_5_0, LicenseVersion.V_2_0_0);
@ -43,6 +45,8 @@ public class WatcherVersion implements Serializable {
return V_1_0_0_Beta1; return V_1_0_0_Beta1;
case V_1_0_0_Beta2_ID: case V_1_0_0_Beta2_ID:
return V_1_0_0_Beta2; return V_1_0_0_Beta2;
case V_1_0_0_RC1_ID:
return V_1_0_0_RC1;
case V_2_0_0_Beta1_ID: case V_2_0_0_Beta1_ID:
return V_2_0_0_Beta1; return V_2_0_0_Beta1;
default: default: