当前位置: 首页>>代码示例>>Java>>正文


Java Metadata类代码示例

本文整理汇总了Java中org.jboss.forge.addon.ui.util.Metadata的典型用法代码示例。如果您正苦于以下问题:Java Metadata类的具体用法?Java Metadata怎么用?Java Metadata使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Metadata类属于org.jboss.forge.addon.ui.util包,在下文中一共展示了Metadata类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.forCommand(getClass())
            .category(Categories.create(AbstractDevToolsCommand.CATEGORY))
            .name(AbstractDevToolsCommand.CATEGORY + ": Configure Pipeline")
            .description("Configure the Pipeline for the new project");
}
 
开发者ID:fabric8-launcher,项目名称:launcher-backend,代码行数:8,代码来源:ChoosePipelineStep.java

示例2: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context)
{
   return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY)).name(CATEGORY + ": Setup")
            .description("Create a new Spring Boot project");
}
 
开发者ID:forge,项目名称:springboot-addon,代码行数:8,代码来源:SetupProjectCommand.java

示例3: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public Metadata getMetadata(UIContext context)
{
   return Metadata.from(super.getMetadata(context), getClass()).name("JPA: Setup")
            .description("Setup JPA in your project")
            .category(Categories.create(super.getMetadata(context).getCategory().getName(), "JPA"));
}
 
开发者ID:forge,项目名称:springboot-addon,代码行数:8,代码来源:SpringBootJPASetupWizard.java

示例4: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY))
            .name(CATEGORY + ": New Integration Test Build")
            .description("Create a new integration test build configuration");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:NewIntegrationTestBuildCommand.java

示例5: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.forCommand(getClass())
            .category(Categories.create(AbstractDevOpsCommand.CATEGORY))
            .name(AbstractDevOpsCommand.CATEGORY + ": Edit")
            .description("Edit the DevOps configuration for this project");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:DevOpsEditCommand.java

示例6: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY))
            .name(CATEGORY + ": New Integration Test Class")
            .description("Create a new integration test class and adds any extra required dependencies to the pom.xml");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:NewIntegrationTestClassCommand.java

示例7: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.forCommand(getClass())
            .category(Categories.create(AbstractDevOpsCommand.CATEGORY))
            .name(AbstractDevOpsCommand.CATEGORY + ": Pipeline")
            .description("Configures the pipeline for this project");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:DevOpsPipelineCommand.java

示例8: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.forCommand(getClass())
            .category(Categories.create(AbstractDevOpsCommand.CATEGORY))
            .name(AbstractDevOpsCommand.CATEGORY + ": Configure Optional")
            .description("Configure the Project options for the new project");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:DevOpsEditOptionalStep.java

示例9: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.forCommand(getClass())
            .category(Categories.create(AbstractDevOpsCommand.CATEGORY))
            .name(AbstractDevOpsCommand.CATEGORY + ": Configure Pipeline")
            .description("Configure the Pipeline for the new project");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:DevOpsEditStep.java

示例10: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY))
            .name(CATEGORY + ": New Project")
            .description("Create a new Spring Boot project");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:SpringBootNewProjectCommand.java

示例11: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY))
            .name(CATEGORY + ": New Build")
            .description("Create a new build configuration");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:NewBuildCommand.java

示例12: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY))
            .name(CATEGORY + ": Service List")
            .description("Lists the services in a kubernetes cloud");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:ServicesList.java

示例13: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY))
            .name(CATEGORY + ": Pod Delete")
            .description("Deletes the given pod from the kubernetes cloud");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:PodDelete.java

示例14: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY))
            .name(CATEGORY + ": Service Delete")
            .description("Deletes the given service from the kubernetes cloud");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:ServiceDelete.java

示例15: getMetadata

import org.jboss.forge.addon.ui.util.Metadata; //导入依赖的package包/类
@Override
public UICommandMetadata getMetadata(UIContext context) {
    return Metadata.from(super.getMetadata(context), getClass())
            .category(Categories.create(CATEGORY))
            .name(CATEGORY + ": Pod List")
            .description("Lists the pods in a kubernetes cloud");
}
 
开发者ID:fabric8io,项目名称:fabric8-forge,代码行数:8,代码来源:PodsList.java


注:本文中的org.jboss.forge.addon.ui.util.Metadata类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。