@Test public void testEnumToConfKey() { assertEquals(this.getClass().getSimpleName() + ".PrivateTestingEnum.Something", ConfiguratorBase.enumToConfKey(this.getClass(), PrivateTestingEnum.SOMETHING)); assertEquals(this.getClass().getSimpleName() + ".PrivateTestingEnum.SomethingElse", ConfiguratorBase.enumToConfKey(this.getClass(), PrivateTestingEnum.SOMETHING_ELSE)); }
protected static String enumToConfKey(Class<?> implementingClass, Enum<?> e) { return implementingClass.getSimpleName() + "." + e.getDeclaringClass().getSimpleName() + "." + StringUtils.camelize(e.name().toLowerCase()); }
ConfiguratorBase { protected static String enumToConfKey(Class<?> implementingClass, Enum<?> e) { return implementingClass.getSimpleName() + "." + e.getDeclaringClass().getSimpleName() + "." + StringUtils.camelize(e.name().toLowerCase()); } }
ConfiguratorBase { protected static String enumToConfKey(Class<?> implementingClass, Enum<?> e) { return implementingClass.getSimpleName() + "." + e.getDeclaringClass().getSimpleName() + "." + StringUtils.camelize(e.name().toLowerCase()); }  }
ConfiguratorBase { protected static String enumToConfKey(Class<?> implementingClass, Enum<?> e) { return implementingClass.getSimpleName() + "." + e.getDeclaringClass().getSimpleName() + "." + StringUtils.camelize(e.name().toLowerCase()); }  static void setConnectorInfo(Class<?> implementingClass, Configuration conf,
      String principal, AuthenticationToken token); static void setConnectorInfo(Class<?> implementingClass, Configuration conf,
      String principal, String tokenFile); static Boolean isConnectorInfoSet(Class<?> implementingClass, Configuration conf); static String getPrincipal(Class<?> implementingClass, Configuration conf); static AuthenticationToken getAuthenticationToken(Class<?> implementingClass,
      Configuration conf); static AuthenticationToken getTokenFromFile(Class<?> implementingClass, Configuration conf,
      String principal, String tokenFile); static void setZooKeeperInstance(Class<?> implementingClass, Configuration conf,
      org.apache.accumulo.core.client.ClientConfiguration clientConfig); static org.apache.accumulo.core.client.Instance getInstance(Class<?> implementingClass,
      Configuration conf); static org.apache.accumulo.core.client.ClientConfiguration getClientConfiguration(Class<?> implementingClass, Configuration conf); static void setLogLevel(Class<?> implementingClass, Configuration conf, Level level); static Level getLogLevel(Class<?> implementingClass, Configuration conf); static void setVisibilityCacheSize(Configuration conf, int visibilityCacheSize); static int getVisibilityCacheSize(Configuration conf); static AuthenticationToken unwrapAuthenticationToken(JobConf job,
      AuthenticationToken token); static AuthenticationToken unwrapAuthenticationToken(JobContext job,
      AuthenticationToken token); static ClientContext client(Class<?> CLASS, Configuration conf); static ClientContext client(Class<?> CLASS,
      org.apache.accumulo.core.client.mapreduce.RangeInputSplit split, Configuration conf); }
ConfiguratorBase { protected static String enumToConfKey(Class<?> implementingClass, Enum<?> e) { return implementingClass.getSimpleName() + "." + e.getDeclaringClass().getSimpleName() + "." + StringUtils.camelize(e.name().toLowerCase()); }  static void setConnectorInfo(Class<?> implementingClass, Configuration conf,
      String principal, AuthenticationToken token); static void setConnectorInfo(Class<?> implementingClass, Configuration conf,
      String principal, String tokenFile); static Boolean isConnectorInfoSet(Class<?> implementingClass, Configuration conf); static String getPrincipal(Class<?> implementingClass, Configuration conf); static AuthenticationToken getAuthenticationToken(Class<?> implementingClass,
      Configuration conf); static AuthenticationToken getTokenFromFile(Class<?> implementingClass, Configuration conf,
      String principal, String tokenFile); static void setZooKeeperInstance(Class<?> implementingClass, Configuration conf,
      org.apache.accumulo.core.client.ClientConfiguration clientConfig); static org.apache.accumulo.core.client.Instance getInstance(Class<?> implementingClass,
      Configuration conf); static org.apache.accumulo.core.client.ClientConfiguration getClientConfiguration(Class<?> implementingClass, Configuration conf); static void setLogLevel(Class<?> implementingClass, Configuration conf, Level level); static Level getLogLevel(Class<?> implementingClass, Configuration conf); static void setVisibilityCacheSize(Configuration conf, int visibilityCacheSize); static int getVisibilityCacheSize(Configuration conf); static AuthenticationToken unwrapAuthenticationToken(JobConf job,
      AuthenticationToken token); static AuthenticationToken unwrapAuthenticationToken(JobContext job,
      AuthenticationToken token); static ClientContext client(Class<?> CLASS, Configuration conf); static ClientContext client(Class<?> CLASS,
      org.apache.accumulo.core.client.mapreduce.RangeInputSplit split, Configuration conf);  }