提交 28be7f47 编写于 作者: K kohsuke

defined mutators. Driven by test cases.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13171 71c3de6d-444a-0410-be80-ed276b4c234a
上级 250a98f9
...@@ -101,6 +101,15 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im ...@@ -101,6 +101,15 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im
return axes; return axes;
} }
/**
* Reconfigures axes.
*/
public void setAxes(AxisList axes) throws IOException {
this.axes = new AxisList(axes);
rebuildConfigurations();
save();
}
protected void updateTransientActions() { protected void updateTransientActions() {
synchronized(transientActions) { synchronized(transientActions) {
super.updateTransientActions(); super.updateTransientActions();
...@@ -368,6 +377,10 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im ...@@ -368,6 +377,10 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im
return builders.toList(); return builders.toList();
} }
public DescribableList<Builder,Descriptor<Builder>> getBuildersList() {
return builders;
}
public Map<Descriptor<Publisher>,Publisher> getPublishers() { public Map<Descriptor<Publisher>,Publisher> getPublishers() {
return publishers.toMap(); return publishers.toMap();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册