io.gravitee.plugin.core.api.Plugin.manifest()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(4.8k)|赞(0)|评价(0)|浏览(253)

本文整理了Java中io.gravitee.plugin.core.api.Plugin.manifest()方法的一些代码示例,展示了Plugin.manifest()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Plugin.manifest()方法的具体详情如下:
包路径:io.gravitee.plugin.core.api.Plugin
类名称:Plugin
方法名:manifest

Plugin.manifest介绍

暂无

代码示例

代码示例来源:origin: gravitee-io/gravitee-gateway

public Set<Plugin> plugins() {
  return pluginRegistry.plugins().stream().map(regPlugin -> {
    Plugin plugin = new Plugin();
    plugin.setId(regPlugin.id());
    plugin.setName(regPlugin.manifest().name());
    plugin.setDescription(regPlugin.manifest().description());
    plugin.setVersion(regPlugin.manifest().version());
    plugin.setType(regPlugin.type().name().toLowerCase());
    plugin.setPlugin(regPlugin.clazz());
    return plugin;
  }).collect(Collectors.toSet());
}

代码示例来源:origin: io.gravitee.plugin/gravitee-plugin-service-discovery

@Override
public PluginManifest manifest() {
  return plugin.manifest();
}

代码示例来源:origin: io.gravitee.plugin/gravitee-plugin-resource

@Override
public PluginManifest manifest() {
  return plugin.manifest();
}

代码示例来源:origin: io.gravitee.plugin/gravitee-plugin-fetcher

@Override
public PluginManifest manifest() {
  return plugin.manifest();
}

代码示例来源:origin: io.gravitee.plugin/gravitee-plugin-policy

@Override
public PluginManifest manifest() {
  return plugin.manifest();
}

代码示例来源:origin: gravitee-io/graviteeio-access-management

private IdentityProviderPlugin convert(Plugin identityProviderPlugin) {
    IdentityProviderPlugin plugin = new IdentityProviderPlugin();
    plugin.setId(identityProviderPlugin.manifest().id());
    plugin.setName(identityProviderPlugin.manifest().name());
    plugin.setDescription(identityProviderPlugin.manifest().description());
    plugin.setVersion(identityProviderPlugin.manifest().version());
    return plugin;
  }
}

代码示例来源:origin: gravitee-io/graviteeio-access-management

private CertificatePlugin convert(Plugin certificatePlugin) {
    CertificatePlugin plugin = new CertificatePlugin();
    plugin.setId(certificatePlugin.manifest().id());
    plugin.setName(certificatePlugin.manifest().name());
    plugin.setDescription(certificatePlugin.manifest().description());
    plugin.setVersion(certificatePlugin.manifest().version());
    return plugin;
  }
}

代码示例来源:origin: gravitee-io/graviteeio-access-management

private ExtensionGrantPlugin convert(Plugin extensionGrantPlugin) {
    ExtensionGrantPlugin plugin = new ExtensionGrantPlugin();
    plugin.setId(extensionGrantPlugin.manifest().id());
    plugin.setName(extensionGrantPlugin.manifest().name());
    plugin.setDescription(extensionGrantPlugin.manifest().description());
    plugin.setVersion(extensionGrantPlugin.manifest().version());
    return plugin;
  }
}

代码示例来源:origin: io.gravitee.management/gravitee-management-api-service

private PluginEntity convert(Plugin plugin) {
    PluginEntity entity = new PluginEntity();

    entity.setId(plugin.id());
    entity.setDescription(plugin.manifest().description());
    entity.setName(plugin.manifest().name());
    entity.setVersion(plugin.manifest().version());

    return entity;
  }
}

代码示例来源:origin: io.gravitee.management/gravitee-management-api-service

private PluginEntity convert(Plugin plugin) {
    PluginEntity entity = new PluginEntity();

    entity.setId(plugin.id());
    entity.setDescription(plugin.manifest().description());
    entity.setName(plugin.manifest().name());
    entity.setVersion(plugin.manifest().version());

    return entity;
  }
}

代码示例来源:origin: gravitee-io/gravitee-management-rest-api

private PluginEntity convert(Plugin plugin) {
    PluginEntity entity = new PluginEntity();

    entity.setId(plugin.id());
    entity.setDescription(plugin.manifest().description());
    entity.setName(plugin.manifest().name());
    entity.setVersion(plugin.manifest().version());

    return entity;
  }
}

代码示例来源:origin: gravitee-io/gravitee-management-rest-api

private PluginEntity convert(Plugin plugin) {
    PluginEntity entity = new PluginEntity();

    entity.setId(plugin.id());
    entity.setDescription(plugin.manifest().description());
    entity.setName(plugin.manifest().name());
    entity.setVersion(plugin.manifest().version());

    return entity;
  }
}

代码示例来源:origin: io.gravitee.gateway.services/gravitee-gateway-services-heartbeat

public Set<Plugin> plugins() {
  return pluginRegistry.plugins().stream().map(regPlugin -> {
    Plugin plugin = new Plugin();
    plugin.setId(regPlugin.id());
    plugin.setName(regPlugin.manifest().name());
    plugin.setDescription(regPlugin.manifest().description());
    plugin.setVersion(regPlugin.manifest().version());
    plugin.setType(regPlugin.type().name().toLowerCase());
    plugin.setPlugin(regPlugin.clazz());
    return plugin;
  }).collect(Collectors.toSet());
}

代码示例来源:origin: io.gravitee.gateway.services/gravitee-gateway-services-monitoring

public Set<Plugin> plugins() {
  return pluginRegistry.plugins().stream().map(regPlugin -> {
    Plugin plugin = new Plugin();
    plugin.setId(regPlugin.id());
    plugin.setName(regPlugin.manifest().name());
    plugin.setDescription(regPlugin.manifest().description());
    plugin.setVersion(regPlugin.manifest().version());
    plugin.setType(regPlugin.type().name().toLowerCase());
    plugin.setPlugin(regPlugin.clazz());
    return plugin;
  }).collect(Collectors.toSet());
}

相关文章