public class LogInfoBuilder extends Builder {private final TimerSettings settings = new TimerSettings();private final List<String> infoCollection = new ArrayList<String>();// Fields in config.jelly must match the parameter names in the "DataBoundConstructor"@DataBoundConstructorpublic LogInfoBuilder(String key, boolean isStart) {settings.setKey(key);settings.setIsStart(isStart);}/*** We'll use this from the <tt>config.jelly</tt>.*/public String getKey() {return settings.getKey();}public boolean isStart(){return settings.getIsStart();}
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"><!--This jelly script is used for per-project configuration.See global.jelly for a general discussion about jelly script.--><!--Creates a text field that shows the value of the "name" property.When submitted, it will be passed to the corresponding constructor parameter.--><f:entry title="Key" field="key"><f:textbox /></f:entry><!--<f:entry title="Start?" field="isstart"><select name="isStart"><option value="true" selected="${it.isstart}">Yes</option><option value="false" selected="${!it.isstart}">No!</option></select></f:entry>--><f:entry title="Starting point?" description="If checked, this will be the starting point."><f:checkbox name="start" checked="${it.start}"/></f:entry></j:jelly>
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.