@Test public void givenPluginPackageWhenBuildIdThenReturnCorrectId() { String expectedPackageId = "service-management__v1.0"; assertThat(DomainIdBuilder.buildDomainId(pluginPackage)).isEqualTo(expectedPackageId); }
public static String buildDomainId(String... fields) { return buildDomainId(Lists.newArrayList(fields)); }
DomainIdBuilder { public static String buildDomainId(String... fields) { return buildDomainId(Lists.newArrayList(fields)); } }
DomainIdBuilder { public static String buildDomainId(String... fields) { return buildDomainId(Lists.newArrayList(fields)); }  }
DomainIdBuilder { public static String buildDomainId(String... fields) { return buildDomainId(Lists.newArrayList(fields)); }  static String buildDomainId(String... fields); static String buildDomainId(List<String> fields); static String buildDomainId(PluginPackage pluginPackage); static String buildDomainId(LazyPluginPackage pluginPackage); static String buildDomainId(PluginPackageDependency pluginPackageDependency); static String buildDomainId(PluginPackageMenu pluginPackageMenu); static String buildDomainId(LazyPluginPackageMenu pluginPackageMenu); static String buildDomainId(PluginPackageDataModel pluginPackageDataModel); static String buildDomainId(LazyPluginPackageDataModel pluginPackageDataModel); static String buildDomainId(PluginPackageEntity pluginPackageEntity); static String buildDomainId(LazyPluginPackageEntity pluginPackageEntity); static String buildDomainId(PluginPackageAttribute pluginPackageAttribute); static String buildDomainId(LazyPluginPackageAttribute pluginPackageAttribute); static String buildDomainId(SystemVariable systemVariable); static String buildDomainId(PluginPackageAuthority pluginPackageAuthority); static String buildDomainId(PluginPackageRuntimeResourcesDocker runtimeResourcesDocker); static String buildDomainId(PluginPackageRuntimeResourcesMysql runtimeResourcesMysql); static String buildDomainId(PluginPackageRuntimeResourcesS3 runtimeResourcesS3); static String buildDomainId(PluginConfig pluginConfig); static String buildDomainId(PluginConfigInterface pluginConfigInterface); static String buildDomainId(PluginConfigInterfaceParameter interfaceParameter); static String buildDomainId(PluginInstance pluginInstance); static String buildDomainId(PluginMysqlInstance mysqlInstance); static String buildDomainId(MenuItem menuItem); static String buildDomainId(ResourceServer resourceServer); static String buildDomainId(ResourceItem resourceItem); static String buildDomainId(BatchExecutionJob batchExecutionJob); }
DomainIdBuilder { public static String buildDomainId(String... fields) { return buildDomainId(Lists.newArrayList(fields)); }  static String buildDomainId(String... fields); static String buildDomainId(List<String> fields); static String buildDomainId(PluginPackage pluginPackage); static String buildDomainId(LazyPluginPackage pluginPackage); static String buildDomainId(PluginPackageDependency pluginPackageDependency); static String buildDomainId(PluginPackageMenu pluginPackageMenu); static String buildDomainId(LazyPluginPackageMenu pluginPackageMenu); static String buildDomainId(PluginPackageDataModel pluginPackageDataModel); static String buildDomainId(LazyPluginPackageDataModel pluginPackageDataModel); static String buildDomainId(PluginPackageEntity pluginPackageEntity); static String buildDomainId(LazyPluginPackageEntity pluginPackageEntity); static String buildDomainId(PluginPackageAttribute pluginPackageAttribute); static String buildDomainId(LazyPluginPackageAttribute pluginPackageAttribute); static String buildDomainId(SystemVariable systemVariable); static String buildDomainId(PluginPackageAuthority pluginPackageAuthority); static String buildDomainId(PluginPackageRuntimeResourcesDocker runtimeResourcesDocker); static String buildDomainId(PluginPackageRuntimeResourcesMysql runtimeResourcesMysql); static String buildDomainId(PluginPackageRuntimeResourcesS3 runtimeResourcesS3); static String buildDomainId(PluginConfig pluginConfig); static String buildDomainId(PluginConfigInterface pluginConfigInterface); static String buildDomainId(PluginConfigInterfaceParameter interfaceParameter); static String buildDomainId(PluginInstance pluginInstance); static String buildDomainId(PluginMysqlInstance mysqlInstance); static String buildDomainId(MenuItem menuItem); static String buildDomainId(ResourceServer resourceServer); static String buildDomainId(ResourceItem resourceItem); static String buildDomainId(BatchExecutionJob batchExecutionJob);  }