- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.jboss.windup.graph.model.WindupVertexFrame
类的一些代码示例,展示了WindupVertexFrame
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WindupVertexFrame
类的具体详情如下:
包路径:org.jboss.windup.graph.model.WindupVertexFrame
类名称:WindupVertexFrame
[英]The base VertexFrame type implemented by all model types.
[中]由所有模型类型实现的基本VertexFrame类型。
代码示例来源:origin: windup/windup
public T getUniqueByProperty(String property, Object value, boolean enforceType) throws NonUniqueResultException
{
Iterable<T> results = findAllByProperty(property, value, enforceType);
T result = null;
for (WindupVertexFrame item : results)
{
// There can be other types using the same property name.
if (!type.isInstance(item))
continue;
if (result != null)
{
throw new NonUniqueResultException("Expected unique value, but returned non-unique: " + property + " Conflicting models:"
+ NL + "\t" + StringUtils.join(item.getClass().getInterfaces(), ", ") + NL + "\t\t" + item.toPrettyString()
+ NL + "\t" + StringUtils.join(result.getClass().getInterfaces(), ", ") + NL + "\t\t" + result.toPrettyString());
}
result = (T) item;
}
return result;
}
代码示例来源:origin: windup/windup
private void fillInNextFrame() {
while(wrappedIterator.hasNext() && nextFrame==null) {
T frame = wrappedIterator.next();
String frameId = frame.getElement().id().toString();
if(!ids.contains(frameId)) {
ids.add(frameId);
nextFrame=frame;
}
}
}
代码示例来源:origin: org.jboss.windup.graph/windup-graph-api
@SuppressWarnings("unchecked")
public static <T extends WindupVertexFrame> T refresh(GraphContext context, T frame)
{
Vertex v = context.getGraph().traversal().V((Long)frame.getId()).next();
return (T) context.getFramed().frameElement(v, WindupVertexFrame.class);
}
代码示例来源:origin: windup/windup
@SuppressWarnings("unchecked")
public static <T extends WindupVertexFrame> T refresh(GraphContext context, T frame)
{
Vertex v = context.getGraph().traversal().V((Long)frame.getId()).next();
return (T) context.getFramed().frameElement(v, WindupVertexFrame.class);
}
代码示例来源:origin: org.jboss.windup.graph/windup-graph-api
public T getUniqueByProperty(String property, Object value, boolean enforceType) throws NonUniqueResultException
{
Iterable<T> results = findAllByProperty(property, value, enforceType);
T result = null;
for (WindupVertexFrame item : results)
{
// There can be other types using the same property name.
if (!type.isInstance(item))
continue;
if (result != null)
{
throw new NonUniqueResultException("Expected unique value, but returned non-unique: " + property + " Conflicting models:"
+ NL + "\t" + StringUtils.join(item.getClass().getInterfaces(), ", ") + NL + "\t\t" + item.toPrettyString()
+ NL + "\t" + StringUtils.join(result.getClass().getInterfaces(), ", ") + NL + "\t\t" + result.toPrettyString());
}
result = (T) item;
}
return result;
}
代码示例来源:origin: org.jboss.windup.graph/windup-graph-api
private void fillInNextFrame() {
while(wrappedIterator.hasNext() && nextFrame==null) {
T frame = wrappedIterator.next();
String frameId = frame.getElement().id().toString();
if(!ids.contains(frameId)) {
ids.add(frameId);
nextFrame=frame;
}
}
}
代码示例来源:origin: windup/windup
/**
* Returns the ReportModel with given name.
*/
@SuppressWarnings("unchecked")
public <T extends ReportModel> T getReportByName(String name, Class<T> clazz)
{
WindupVertexFrame model = this.getUniqueByProperty(ReportModel.REPORT_NAME, name);
try
{
return (T) model;
}
catch (ClassCastException ex)
{
throw new WindupException("The vertex is not of expected frame type " + clazz.getName() + ": " + model.toPrettyString());
}
}
代码示例来源:origin: org.jboss.windup.web.addons/windup-web-support-impl
protected List<Map<String, Object>> frameIterableToResult(long executionID, Iterable<? extends WindupVertexFrame> frames, int depth)
{
GraphMarshallingContext ctx = new GraphMarshallingContext(executionID, null, depth, false, Collections.emptyList(), Collections.emptyList(), Collections.emptyList(), true);
List<Map<String, Object>> result = new ArrayList<>();
for (WindupVertexFrame frame : frames)
{
result.add(convertToMap(ctx, frame.getElement()));
}
return result;
}
代码示例来源:origin: org.jboss.windup.reporting/windup-reporting-api
/**
* Returns the ReportModel with given name.
*/
@SuppressWarnings("unchecked")
public <T extends ReportModel> T getReportByName(String name, Class<T> clazz)
{
WindupVertexFrame model = this.getUniqueByProperty(ReportModel.REPORT_NAME, name);
try
{
return (T) model;
}
catch (ClassCastException ex)
{
throw new WindupException("The vertex is not of expected frame type " + clazz.getName() + ": " + model.toPrettyString());
}
}
代码示例来源:origin: org.jboss.windup.graph/windup-graph-api
@Override
public void remove(final T model)
{
ExecutionStatistics.performBenchmarked("GraphService.commit", () ->
{
model.getElement().remove();
return null;
});
}
代码示例来源:origin: windup/windup
private XmlFileModel getXmlFileModelFromVertex(WindupVertexFrame vertexFrame) {
final XmlFileModel xml;
if (vertexFrame instanceof FileReferenceModel)
{
xml = (XmlFileModel) ((FileReferenceModel) vertexFrame).getFile();
}
else if (vertexFrame instanceof XmlFileModel)
{
xml = (XmlFileModel) vertexFrame;
}
else
{
throw new WindupException("XmlFile was called on the wrong graph type ( " + vertexFrame.toPrettyString()
+ ")");
}
return xml;
}
代码示例来源:origin: windup/windup
@Override
public void remove(final T model)
{
ExecutionStatistics.performBenchmarked("GraphService.commit", () ->
{
model.getElement().remove();
return null;
});
}
代码示例来源:origin: org.jboss.windup.config/windup-config-api
+ System.lineSeparator()+" Old: %s"
+ System.lineSeparator()+" New: %s"
+ "%s", frame.toPrettyString(), last, frame,
paramValueStoreOverwritten ? "" : System.lineSeparator()+"Further incidents will be logged at FINER level as it may occur millions of times."));
paramValueStoreOverwritten = true;
代码示例来源:origin: windup/windup
/**
* Adds the specified type to this frame, and returns a new object that implements this type.
*/
public static <T extends WindupVertexFrame> T addTypeToModel(GraphContext graphContext, WindupVertexFrame frame, Class<T> type)
{
Vertex vertex = frame.getElement();
graphContext.getGraphTypeManager().addTypeToElement(type, vertex);
return graphContext.getFramed().frameElement(vertex, type);
}
代码示例来源:origin: org.jboss.windup.rules.apps/windup-rules-java-ee
LOG.warning(payload.toPrettyString());
return;
代码示例来源:origin: windup/windup
/**
* Removes the specified type from the frame.
*/
public static <T extends WindupVertexFrame> WindupVertexFrame removeTypeFromModel(GraphContext graphContext, WindupVertexFrame frame, Class<T> type)
{
Vertex vertex = frame.getElement();
graphContext.getGraphTypeManager().removeTypeFromElement(type, vertex);
return graphContext.getFramed().frameElement(vertex, WindupVertexFrame.class);
}
代码示例来源:origin: windup/windup
+ System.lineSeparator()+" Old: %s"
+ System.lineSeparator()+" New: %s"
+ "%s", frame.toPrettyString(), last, frame,
paramValueStoreOverwritten ? "" : System.lineSeparator()+"Further incidents will be logged at FINER level as it may occur millions of times."));
paramValueStoreOverwritten = true;
代码示例来源:origin: org.jboss.windup.web.addons/windup-web-support-impl
entity.getElement(),
1,
false,
代码示例来源:origin: windup/windup
LOG.warning(payload.toPrettyString());
return;
代码示例来源:origin: org.jboss.windup.graph/windup-graph-api
/**
* Adds the specified type to this frame, and returns a new object that implements this type.
*/
public static <T extends WindupVertexFrame> T addTypeToModel(GraphContext graphContext, WindupVertexFrame frame, Class<T> type)
{
Vertex vertex = frame.getElement();
graphContext.getGraphTypeManager().addTypeToElement(type, vertex);
return graphContext.getFramed().frameElement(vertex, type);
}
本文整理了Java中org.jboss.windup.util.ZipUtil类的一些代码示例,展示了ZipUtil类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Mav
本文整理了Java中org.jboss.windup.graph.model.WindupVertexFrame类的一些代码示例,展示了WindupVertexFrame类的具体用法。这些代码示例主要
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration类的一些代码示例,展示了WindupConfiguration类的具体
我正在尝试在 JBoss 7.1.1 Final 中部署示例 Weblogic 应用程序。为此,我需要使用 Windup 工具。在 Windup 工具中,它显示了以下代码的 **Java 到 Wsdl
本文整理了Java中org.jboss.windup.util.ZipUtil.unzipToFolder()方法的一些代码示例,展示了ZipUtil.unzipToFolder()的具体用法。这些代
本文整理了Java中org.jboss.windup.util.ZipUtil.scanZipFile()方法的一些代码示例,展示了ZipUtil.scanZipFile()的具体用法。这些代码示例主
本文整理了Java中org.jboss.windup.util.ZipUtil.getZipExtensions()方法的一些代码示例,展示了ZipUtil.getZipExtensions()的具体
本文整理了Java中org.jboss.windup.util.ZipUtil.endsWithZipExtension()方法的一些代码示例,展示了ZipUtil.endsWithZipExtens
我想知道我们是否可以在windows m/c 中安装和运行WindUp 工具。如果可以,任何人都可以向我解释这些步骤。 还有一件事是, 我有我的应用程序的 war 文件,我想使用 WindUp 工具将
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.getInputPaths()方法的一些代码示例,展示了Windup
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.addDefaultUserRulesDirectory()方法的一
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.setOutputDirectory()方法的一些代码示例,展示了W
本文整理了Java中org.jboss.windup.graph.model.WindupVertexFrame.getElement()方法的一些代码示例,展示了WindupVertexFrame.
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.getWindupConfigurationOptions()方法的
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.getOptionMap()方法的一些代码示例,展示了WindupC
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.useDefaultDirectories()方法的一些代码示例,展
本文整理了Java中org.jboss.windup.graph.model.WindupVertexFrame.toPrettyString()方法的一些代码示例,展示了WindupVertexFr
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.()方法的一些代码示例,展示了WindupConfiguration
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.getOutputDirectory()方法的一些代码示例,展示了W
本文整理了Java中org.jboss.windup.exec.configuration.WindupConfiguration.getOptionValue()方法的一些代码示例,展示了Windu
我是一名优秀的程序员,十分优秀!