本文整理了Java中org.jenkinsci.Symbol.<init>()
方法的一些代码示例,展示了Symbol.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Symbol.<init>()
方法的具体详情如下:
包路径:org.jenkinsci.Symbol
类名称:Symbol
方法名:<init>
暂无
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("standard")
public static class DescriptorImpl extends MyViewsTabBarDescriptor {
@Override
public String getDisplayName() {
return Messages.DefaultMyViewsTabsBar_DisplayName();
//return "Default My Views TabsBar";
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("demand")
public static class DescriptorImpl extends Descriptor<RetentionStrategy<?>> {
@Override
public String getDisplayName() {
return Messages.RetentionStrategy_Demand_displayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension(ordinal = Integer.MAX_VALUE) @Symbol("none")
public static class DescriptorImpl extends SCMDescriptor<NullSCM> {
public DescriptorImpl() {
super(null);
}
@Override public String getDisplayName() {
return Messages.NullSCM_DisplayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension(ordinal=DEFAULT_COLUMNS_ORDINAL_PROPERTIES_START-2) @Symbol("lastFailure")
public static class DescriptorImpl extends ListViewColumnDescriptor {
@Override
public String getDisplayName() {
return Messages.LastFailureColumn_DisplayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("maven3Mojos")
public static final class DescriptorImpl extends ConsoleAnnotationDescriptor {
public String getDisplayName() {
return "Maven 3 Mojos";
}
}
代码示例来源:origin: jenkinsci/jenkins
/**
* The default executors widget.
*
* A plugin may remove this from {@link Jenkins#getWidgets()} and swap in their own.
*
* @author Kohsuke Kawaguchi
* @since 1.514
*/
@Extension(ordinal=100) @Symbol("executors") // historically this was above normal widgets and below BuildQueueWidget
public class ExecutorsWidget extends Widget {
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("standard")
public static final class DescriptorImpl extends ProjectNamingStrategyDescriptor {
@Override
public String getDisplayName() {
return Messages.DefaultProjectNamingStrategy_DisplayName();
}
@Override
public String getHelpFile() {
return "/help/system-config/defaultJobNamingStrategy.html";
}
}
}
代码示例来源:origin: jenkinsci/jenkins
/**
* @author Kohsuke Kawaguchi
*/
@Extension(ordinal=2) @Symbol("envVars")
public class EnvVarsSlaveInfo extends SlaveSystemInfo {
@Override
public String getDisplayName() {
return Messages.EnvVarsSlaveInfo_DisplayName();
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("hyperlink")
public static class DescriptorImpl extends ConsoleAnnotationDescriptor {
public String getDisplayName() {
return "Hyperlinks";
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension(ordinal = 99) @Symbol("standard")
public static class DescriptorImpl extends GlobalSettingsProviderDescriptor {
@Override
public String getDisplayName() {
return Messages.DefaultGlobalSettingsProvider_DisplayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("stackTrace")
public static final class DescriptorImpl extends ConsoleAnnotationDescriptor {
@Override
public String getDisplayName() {
return "Exception Stack Trace";
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension(ordinal=100) @Symbol("always")
public static class DescriptorImpl extends Descriptor<RetentionStrategy<?>> {
public String getDisplayName() {
return Messages.RetentionStrategy_Always_displayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("legacy")
public static final class DescriptorImpl extends Descriptor<AuthorizationStrategy> {
public String getDisplayName() {
return Messages.LegacyAuthorizationStrategy_DisplayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("unsecured")
public static final class DescriptorImpl extends Descriptor<AuthorizationStrategy> {
@Override
public String getDisplayName() {
return Messages.AuthorizationStrategy_DisplayName();
}
@Override
public @Nonnull AuthorizationStrategy newInstance(StaplerRequest req, JSONObject formData) throws FormException {
return UNSECURED;
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension(ordinal=DEFAULT_COLUMNS_ORDINAL_PROPERTIES_START-1) @Symbol("lastSuccess")
public static class DescriptorImpl extends ListViewColumnDescriptor {
@Override
public String getDisplayName() {
return Messages.LastSuccessColumn_DisplayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("caseSensitive")
public static class DescriptorImpl extends IdStrategyDescriptor {
/**
* {@inheritDoc}
*/
@Override
public String getDisplayName() {
return Messages.IdStrategy_CaseSensitive_DisplayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("mavenMojos")
public static final class DescriptorImpl extends ConsoleAnnotationDescriptor {
public String getDisplayName() {
return "Maven Mojos";
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension(ordinal=DEFAULT_COLUMNS_ORDINAL_ACTIONS_START-1) @Symbol("buildButton")
public static class DescriptorImpl extends ListViewColumnDescriptor {
@Override
public String getDisplayName() {
return Messages.BuildButtonColumn_DisplayName();
}
}
}
代码示例来源:origin: jenkinsci/jenkins
@Extension @Symbol("zfs")
public static final class DescriptorImpl extends FileSystemProvisionerDescriptor {
public boolean discard(FilePath ws, TaskListener listener) throws IOException, InterruptedException {
// TODO
return false;
}
public String getDisplayName() {
return "ZFS";
}
}
代码示例来源:origin: jenkinsci/jenkins
/**
* Show the default build queue.
*
* A plugin may remove this from {@link Jenkins#getWidgets()} and swap in their own.
*
* @author Kohsuke Kawaguchi
* @since 1.514
*/
@Extension(ordinal=200) @Symbol("buildQueue") // historically this was the top most widget
public class BuildQueueWidget extends Widget {
}
内容来源于网络,如有侵权,请联系作者删除!