作者:laerla君君 | 来源:互联网 | 2023-08-18 22:09
本文整理了Java中hudson.model.JobPropertyDescriptor.getId()
方法的一些代码示例,展示了JobPropertyDescriptor.getId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JobPropertyDescriptor.getId()
方法的具体详情如下:
包路径:hudson.model.JobPropertyDescriptor
类名称:JobPropertyDescriptor
方法名:getId
JobPropertyDescriptor.getId介绍
暂无
代码示例
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
public String superGetId() {
return super.getId();
}
代码示例来源:origin: org.jenkins-ci.plugins.workflow/workflow-multibranch
public JobPropertyTrackerAction(@Nonnull List jobProperties) {
for (JobProperty j : jobProperties) {
jobPropertyDescriptors.add(j.getDescriptor().getId());
}
}
代码示例来源:origin: jenkinsci/workflow-multibranch-plugin
public JobPropertyTrackerAction(@Nonnull List jobProperties) {
for (JobProperty j : jobProperties) {
jobPropertyDescriptors.add(j.getDescriptor().getId());
}
}
代码示例来源:origin: jenkinsci/pipeline-model-definition-plugin
public DeclarativeJobPropertyTrackerAction(@CheckForNull List rawJobProperties,
@CheckForNull List rawTriggers,
@CheckForNull List rawParameters,
@CheckForNull List rawOptions) {
if (rawJobProperties != null) {
for (JobProperty p : rawJobProperties) {
jobProperties.add(p.getDescriptor().getId());
}
}
if (rawTriggers != null) {
for (Trigger t : rawTriggers) {
triggers.add(t.getDescriptor().getId());
}
}
if (rawParameters != null) {
for (ParameterDefinition d : rawParameters) {
parameters.add(d.getName());
}
}
if (rawOptions != null) {
for (DeclarativeOption o : rawOptions) {
options.add(o.getDescriptor().getName());
}
}
}
代码示例来源:origin: org.jenkins-ci.plugins/python-wrapper
@Override
public String getId() {
initPython();
if (pexec.isImplemented(2)) {
return (String) pexec.execPython("get_id");
} else {
return super.getId();
}
}
代码示例来源:origin: org.jenkins-ci.plugins.workflow/workflow-multibranch
throw new AbortException("cannot apply " + prop.getDescriptor().getId() + " to a " + job.getClass().getSimpleName());
if (previousAction.getJobPropertyDescriptors().contains(prop.getDescriptor().getId())) {
job.removeProperty(prop);
代码示例来源:origin: jenkinsci/workflow-multibranch-plugin
throw new AbortException("cannot apply " + prop.getDescriptor().getId() + " to a " + job.getClass().getSimpleName());
if (previousAction.getJobPropertyDescriptors().contains(prop.getDescriptor().getId())) {
job.removeProperty(prop);