Expose plugin name in a public constant

closes elastic/elasticsearch#27

Original commit: elastic/x-pack-elasticsearch@3410ca2e3d
This commit is contained in:
Areek Zillur 2014-11-27 17:52:42 -05:00
parent 4ba17be1e6
commit be26fd7c49
1 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ import java.util.Collection;
public class LicensePlugin extends AbstractPlugin {
public static final String NAME = "license";
private final boolean isEnabled;
static {
@ -51,7 +52,7 @@ public class LicensePlugin extends AbstractPlugin {
@Override
public String name() {
return "license";
return NAME;
}
@Override