- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.reprezen.rapidml.ZenModel.getSecuritySchemesLibrary()
方法的一些代码示例,展示了ZenModel.getSecuritySchemesLibrary()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZenModel.getSecuritySchemesLibrary()
方法的具体详情如下:
包路径:com.reprezen.rapidml.ZenModel
类名称:ZenModel
方法名:getSecuritySchemesLibrary
[英]Returns the value of the 'Security Schemes Library' containment reference.
If the meaning of the 'Security Schemes Library' containment reference isn't clear, there really should be more of a description here...
[中]返回“Security Schemes Library”包含引用的值。
如果“Security Schemes Library”包含引用的含义不清楚,那么这里真的应该有更多的描述。。。
代码示例来源:origin: com.reprezen.genflow/rapidml-doc
public boolean hasSecuritySchemes(final ZenModel model) {
boolean _xblockexpression = false;
{
final SecuritySchemeLibrary library = model.getSecuritySchemesLibrary();
boolean _xifexpression = false;
if ((library != null)) {
boolean _isEmpty = library.getSecuritySchemes().isEmpty();
_xifexpression = (!_isEmpty);
} else {
_xifexpression = false;
}
_xblockexpression = _xifexpression;
}
return _xblockexpression;
}
}
代码示例来源:origin: com.reprezen.genflow/rapidml-swagger
public ArrayList<SecurityScheme> getAllUsedSecuritySchemes(final ZenModel model) {
final ArrayList<SecurityScheme> result = Lists.<SecurityScheme>newArrayList();
SecuritySchemeLibrary _securitySchemesLibrary = model.getSecuritySchemesLibrary();
boolean _tripleNotEquals = (_securitySchemesLibrary != null);
if (_tripleNotEquals) {
result.addAll(model.getSecuritySchemesLibrary().getSecuritySchemes());
}
final Function1<HasSecurityValue, EList<AuthenticationMethod>> _function = (HasSecurityValue it) -> {
return it.getSecuredBy();
};
final Consumer<AuthenticationMethod> _function_1 = (AuthenticationMethod it) -> {
result.add(it.getScheme());
};
Iterables.<AuthenticationMethod>concat(ListExtensions.<HasSecurityValue, EList<AuthenticationMethod>>map(IteratorExtensions.<HasSecurityValue>toList(Iterators.<HasSecurityValue>filter(model.eAllContents(), HasSecurityValue.class)), _function)).forEach(_function_1);
return result;
}
代码示例来源:origin: com.reprezen.rapidml/com.reprezen.rapidml.model
/**
* @param importDeclaration
* import declaration
* @return list of namespaces that available from imported model
*/
public static List<String> getImportedNamespaces(ImportDeclaration importDeclaration) {
ZenModel zenModel = importDeclaration.getImportedModel();
List<String> result = new ArrayList<>();
if (zenModel != null) {
String namespace = ((zenModel.getNamespace() != null) ? zenModel.getNamespace() + "." : "")//
+ zenModel.getName();
result.addAll(zenModel.getResourceAPIs().stream()//
.map(rapi -> namespace + "." + rapi.getName()).collect(Collectors.toList()));
result.addAll(zenModel.getDataModels().stream()//
.map(dm -> namespace + "." + dm.getName()).collect(Collectors.toList()));
Optional.ofNullable(zenModel.getSecuritySchemesLibrary())//
.filter(it -> !it.getSecuritySchemes().isEmpty())//
.ifPresent(it -> result.add(namespace + "." + it.getName()));
}
return Collections.unmodifiableList(result);
}
代码示例来源:origin: com.reprezen.rapidml/com.reprezen.rapidml
&& (context instanceof HasSecurityValue)) {
ZenModel model = context instanceof ZenModel ? (ZenModel) context : RapidmlModelUtils.getZenModel(context);
SecuritySchemeLibrary securitySchemeLibrary = model.getSecuritySchemesLibrary();
if (securitySchemeLibrary != null && securitySchemeLibrary.getName() != null && model.getName() != null) {
QualifiedName importedNamespace = QualifiedName.create(model.getName(),
代码示例来源:origin: com.reprezen.genflow/rapidml-doc
public String generateSecuritySchemes(final ZenModel model) {
StringConcatenation _builder = new StringConcatenation();
SecuritySchemeLibrary _securitySchemesLibrary = model.getSecuritySchemesLibrary();
boolean _tripleNotEquals = (_securitySchemesLibrary != null);
if (_tripleNotEquals) {
_builder.append("\t\t\t");
_builder.append("<h3 class=\"panel-title\">");
String _name = model.getSecuritySchemesLibrary().getName();
_builder.append(_name, "\t\t\t");
_builder.append("</h3>");
_builder.newLine();
EList<SecurityScheme> _securitySchemes = model.getSecuritySchemesLibrary().getSecuritySchemes();
for(final SecurityScheme securityScheme : _securitySchemes) {
_builder.append("\t ");
本文整理了Java中com.reprezen.rapidml.ZenModel.getImports()方法的一些代码示例,展示了ZenModel.getImports()的具体用法。这些代码示例主要
本文整理了Java中com.reprezen.rapidml.ZenModel.getDataModels()方法的一些代码示例,展示了ZenModel.getDataModels()的具体用法。这些
本文整理了Java中com.reprezen.rapidml.ZenModel.getName()方法的一些代码示例,展示了ZenModel.getName()的具体用法。这些代码示例主要来源于Git
本文整理了Java中com.reprezen.rapidml.ZenModel.getSecuritySchemesLibrary()方法的一些代码示例,展示了ZenModel.getSecurity
本文整理了Java中com.reprezen.rapidml.ZenModel.getResourceAPIs()方法的一些代码示例,展示了ZenModel.getResourceAPIs()的具体用
本文整理了Java中com.reprezen.rapidml.ZenModel.getNamespace()方法的一些代码示例,展示了ZenModel.getNamespace()的具体用法。这些代码
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelLocator类的一些代码示例,展示了ZenModelLocator类的具体用法。这些代码示例主
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelOutputItem类的一些代码示例,展示了ZenModelOutputItem类的具体用法。这
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelLocator.()方法的一些代码示例,展示了ZenModelLocator.()的具体用法。这
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelOutputItem.init()方法的一些代码示例,展示了ZenModelOutputItem
我是一名优秀的程序员,十分优秀!