本文整理汇总了Java中org.kohsuke.stapler.DataBoundSetter类的典型用法代码示例。如果您正苦于以下问题:Java DataBoundSetter类的具体用法?Java DataBoundSetter怎么用?Java DataBoundSetter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DataBoundSetter类属于org.kohsuke.stapler包,在下文中一共展示了DataBoundSetter类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setAnalyzeLatestIndividually
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setAnalyzeLatestIndividually(boolean analyzeLatestIndividually) {
this.analyzeLatestIndividually = analyzeLatestIndividually;
}
示例2: setAnalyzeBranchDiff
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setAnalyzeBranchDiff(boolean analyzeBranchDiff) {
this.analyzeBranchDiff = analyzeBranchDiff;
}
示例3: setBaseRevision
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setBaseRevision(String baseRevision) {
this.baseRevision = baseRevision;
}
示例4: setMarkBuildAsUnstable
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setMarkBuildAsUnstable(boolean markBuildAsUnstable) {
this.markBuildAsUnstable = markBuildAsUnstable;
}
示例5: setRiskThreshold
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setRiskThreshold(int riskThreshold) {
this.riskThreshold = riskThreshold < 1 || riskThreshold > 10 ? DEFAULT_RISK_THRESHOLD : riskThreshold;
}
示例6: setCouplingThresholdPercent
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setCouplingThresholdPercent(int couplingThresholdPercent) {
this.couplingThresholdPercent = couplingThresholdPercent < 1 || couplingThresholdPercent > 100
? DEFAULT_COUPLING_THRESHOLD_PERCENT
: couplingThresholdPercent;
}
示例7: setWaitTime
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
final public void setWaitTime(String waitTime) {
this.waitTime = waitTime != null ? waitTime.trim() : null;
}
示例8: setWaitUnit
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
final public void setWaitUnit(String waitUnit) {
this.waitUnit = waitUnit != null ? waitUnit.trim() : null;
}
示例9: setApiURL
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setApiURL(String apiURL) {
this.apiURL = apiURL != null ? apiURL.trim() : null;
}
示例10: setVerbose
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setVerbose(String verbose) {
this.verbose = verbose != null ? verbose.trim() : null;
}
示例11: setServiceId
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setServiceId(String serviceId) {
this.serviceId = serviceId != null ? serviceId.trim() : null;
}
示例12: setTestEndpoint
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setTestEndpoint(String testEndpoint) {
this.testEndpoint = testEndpoint != null ? testEndpoint.trim() : null;
}
示例13: setRunnerType
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setRunnerType(String runnerType) {
this.runnerType = runnerType != null ? runnerType.trim() : null;
}
示例14: setCredentialsId
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setCredentialsId(String credentialsId) {
this.credentialsId = credentialsId;
}
示例15: setTraits
import org.kohsuke.stapler.DataBoundSetter; //导入依赖的package包/类
@DataBoundSetter
public void setTraits(List<SCMTrait<?>> traits) {
this.traits = new ArrayList<>(Util.fixNull(traits));
}