本文整理了Java中org.guvnor.common.services.project.model.Module.getEncodedIdentifier()
方法的一些代码示例,展示了Module.getEncodedIdentifier()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Module.getEncodedIdentifier()
方法的具体详情如下:
包路径:org.guvnor.common.services.project.model.Module
类名称:Module
方法名:getEncodedIdentifier
暂无
代码示例来源:origin: org.uberfire/uberfire-project-client
@Override
public PreferenceScopeResolutionStrategyInfo get() {
if (module == null) {
return scopeResolutionStrategies.getUserInfoFor(null, null);
}
final String projectIdentifier = module.getEncodedIdentifier();
return scopeResolutionStrategies.getUserInfoFor("project", projectIdentifier);
}
}
代码示例来源:origin: kiegroup/appformer
@Override
public PreferenceScopeResolutionStrategyInfo get() {
if (module == null) {
return scopeResolutionStrategies.getUserInfoFor(null, null);
}
final String projectIdentifier = module.getEncodedIdentifier();
return scopeResolutionStrategies.getUserInfoFor("project", projectIdentifier);
}
}
代码示例来源:origin: org.uberfire/uberfire-project-client
@Before
public void setup() {
projectScopedResolutionStrategySupplier = spy(new ProjectScopedResolutionStrategySupplier(scopeResolutionStrategies));
module = mock(Module.class);
doReturn("projectIdentifier").when(module).getIdentifier();
doReturn("projectIdentifierEncoded").when(module).getEncodedIdentifier();
}
代码示例来源:origin: kiegroup/appformer
@Before
public void setup() {
projectScopedResolutionStrategySupplier = spy(new ProjectScopedResolutionStrategySupplier(scopeResolutionStrategies));
module = mock(Module.class);
doReturn("projectIdentifier").when(module).getIdentifier();
doReturn("projectIdentifierEncoded").when(module).getEncodedIdentifier();
}
代码示例来源:origin: org.uberfire/uberfire-project-backend
GAVPreferences gavPreferences = gavPreferencesProvider.get();
final PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo = scopeResolutionStrategies.getUserInfoFor(GuvnorPreferenceScopes.PROJECT,
module.getEncodedIdentifier());
gavPreferences.load(scopeResolutionStrategyInfo);
if (gavPreferences.isConflictingGAVCheckDisabled()) {
代码示例来源:origin: kiegroup/appformer
GAVPreferences gavPreferences = gavPreferencesProvider.get();
final PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo = scopeResolutionStrategies.getUserInfoFor(GuvnorPreferenceScopes.PROJECT,
module.getEncodedIdentifier());
gavPreferences.load(scopeResolutionStrategyInfo);
if (gavPreferences.isConflictingGAVCheckDisabled()) {
代码示例来源:origin: org.uberfire/uberfire-project-backend
final Module module = mock(Module.class);
doReturn("file://master@a/a%20b").when(module).getIdentifier();
doCallRealMethod().when(module).getEncodedIdentifier();
final org.uberfire.backend.vfs.Path vfsPomXmlPath = mock(org.uberfire.backend.vfs.Path.class);
final String oldSettingsXmlPath = System.getProperty(MavenSettings.CUSTOM_SETTINGS_PROPERTY);
代码示例来源:origin: kiegroup/appformer
final Module module = mock(Module.class);
doReturn("file://master@a/a%20b").when(module).getIdentifier();
doCallRealMethod().when(module).getEncodedIdentifier();
final org.uberfire.backend.vfs.Path vfsPomXmlPath = mock(org.uberfire.backend.vfs.Path.class);
final String oldSettingsXmlPath = System.getProperty(MavenSettings.CUSTOM_SETTINGS_PROPERTY);
内容来源于网络,如有侵权,请联系作者删除!