本文整理了Java中hudson.model.Job.initProjectProperties()
方法的一些代码示例,展示了Job.initProjectProperties()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Job.initProjectProperties()
方法的具体详情如下:
包路径:hudson.model.Job
类名称:Job
方法名:initProjectProperties
[英]Initialize project properties if null.
[中]如果为null,则初始化项目属性。
代码示例来源:origin: hudson/hudson-2.x
/**
* Initializes and builds project properties. Also converts legacy properties to IProjectProperties.
* Subclasses should inherit and override this behavior.
*
* @throws IOException if any.
*/
protected void buildProjectProperties() throws IOException {
initProjectProperties();
for (Map.Entry<String, IProjectProperty> entry : jobProperties.entrySet()) {
IProjectProperty property = entry.getValue();
property.setKey(entry.getKey());
property.setJob(this);
}
convertLogRotatorProperty();
convertJobProperties();
}
代码示例来源:origin: org.eclipse.hudson/hudson-core
/**
* Initializes and builds project properties. Also converts legacy
* properties to IProjectProperties. Subclasses should inherit and override
* this behavior.
*
* @throws IOException if any.
*/
protected void buildProjectProperties() throws IOException {
initProjectProperties();
for (Map.Entry<String, IProjectProperty> entry : jobProperties.entrySet()) {
IProjectProperty property = entry.getValue();
property.setKey(entry.getKey());
property.setJob(this);
}
convertLogRotatorProperty();
convertJobProperties();
}
代码示例来源:origin: org.jvnet.hudson.main/hudson-core
/**
* Initializes and builds project properties. Also converts legacy properties to IProjectProperties.
* Subclasses should inherit and override this behavior.
*
* @throws IOException if any.
*/
protected void buildProjectProperties() throws IOException {
initProjectProperties();
for (Map.Entry<String, IProjectProperty> entry : jobProperties.entrySet()) {
IProjectProperty property = entry.getValue();
property.setKey(entry.getKey());
property.setJob(this);
}
convertLogRotatorProperty();
convertJobProperties();
}
代码示例来源:origin: org.eclipse.hudson.main/hudson-core
/**
* Initializes and builds project properties. Also converts legacy properties to IProjectProperties.
* Subclasses should inherit and override this behavior.
*
* @throws IOException if any.
*/
protected void buildProjectProperties() throws IOException {
initProjectProperties();
for (Map.Entry<String, IProjectProperty> entry : jobProperties.entrySet()) {
IProjectProperty property = entry.getValue();
property.setKey(entry.getKey());
property.setJob(this);
}
convertLogRotatorProperty();
convertJobProperties();
}
内容来源于网络,如有侵权,请联系作者删除!