本文整理汇总了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");
}
示例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");
}
示例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"));
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}