本文整理了Java中org.guvnor.common.services.shared.metadata.model.Metadata.isGenerated()
方法的一些代码示例,展示了Metadata.isGenerated()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Metadata.isGenerated()
方法的具体详情如下:
包路径:org.guvnor.common.services.shared.metadata.model.Metadata
类名称:Metadata
方法名:isGenerated
暂无
代码示例来源:origin: org.guvnor/guvnor-services-backend
@Test
public void testGeneratedAttributes() {
when(generatedFileAttributes.isGenerated()).thenReturn(true);
when(generatedAttributesView.readAttributes()).thenReturn(generatedFileAttributes);
Metadata metadata = service.create();
assertTrue(metadata.isGenerated());
}
代码示例来源:origin: org.uberfire/uberfire-services-backend
@Test
public void testGeneratedAttributes() {
when(generatedFileAttributes.isGenerated()).thenReturn(true);
when(generatedAttributesView.readAttributes()).thenReturn(generatedFileAttributes);
Metadata metadata = service.create();
assertTrue(metadata.isGenerated());
}
代码示例来源:origin: kiegroup/appformer
@Test
public void testGeneratedAttributes() {
when(generatedFileAttributes.isGenerated()).thenReturn(true);
when(generatedAttributesView.readAttributes()).thenReturn(generatedFileAttributes);
Metadata metadata = service.create();
assertTrue(metadata.isGenerated());
}
代码示例来源:origin: kiegroup/appformer
"*"));
if (metadata.isGenerated()) {
attrs.put(GeneratedAttributesView.GENERATED_ATTRIBUTE_NAME,
true);
代码示例来源:origin: org.drools/drools-wb-globals-editor-client
@Override
public void callback(final GlobalsEditorContent content) {
//Path is set to null when the Editor is closed (which can happen before async calls complete).
if (versionRecordManager.getCurrentPath() == null) {
return;
}
model = content.getModel();
resetEditorPages(content.getOverview());
addSourcePage();
final List<String> fullyQualifiedClassNames = content.getFullyQualifiedClassNames();
view.setContent(content.getModel().getGlobals(),
fullyQualifiedClassNames,
isReadOnly,
content.getOverview().getMetadata().isGenerated());
createOriginalHash(model);
view.hideBusyIndicator();
}
};
代码示例来源:origin: org.guvnor/guvnor-services-backend
"*"));
if (metadata.isGenerated()) {
attrs.put(GeneratedAttributesView.GENERATED_ATTRIBUTE_NAME,
true);
代码示例来源:origin: kiegroup/drools-wb
@Override
public void callback(final GlobalsEditorContent content) {
//Path is set to null when the Editor is closed (which can happen before async calls complete).
if (versionRecordManager.getCurrentPath() == null) {
return;
}
model = content.getModel();
resetEditorPages(content.getOverview());
addSourcePage();
final List<String> fullyQualifiedClassNames = content.getFullyQualifiedClassNames();
view.setContent(content.getModel().getGlobals(),
fullyQualifiedClassNames,
isReadOnly,
content.getOverview().getMetadata().isGenerated());
createOriginalHash(model);
view.hideBusyIndicator();
}
};
内容来源于网络,如有侵权,请联系作者删除!