提交 ad14631d 编写于 作者: K kohsuke

adjusting what to be sent back to the client in the default depth. (#1258)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7070 71c3de6d-444a-0410-be80-ed276b4c234a
上级 037ef105
......@@ -273,8 +273,8 @@
<dependency>
<groupId>org.kohsuke.stapler</groupId>
<artifactId>stapler</artifactId>
<version>1.59</version>
</dependency>
<version>1.61</version>
</dependency>
<dependency>
<groupId>org.kohsuke</groupId>
<artifactId>graph-layouter</artifactId>
......
......@@ -64,7 +64,7 @@ public final class ClassResult extends TabulatedResult implements Comparable<Cla
}
@Exported(name="child")
@Exported(name="child",inline=true)
public List<CaseResult> getChildren() {
return cases;
}
......
......@@ -82,7 +82,7 @@ public final class PackageResult extends MetaTabulatedResult {
return classes.get(name);
}
@Exported(name="child")
@Exported(name="child",inline=true)
public Collection<ClassResult> getChildren() {
return classes.values();
}
......
......@@ -189,7 +189,7 @@ public final class TestResult extends MetaTabulatedResult {
}
@Override
@Exported(name="child")
@Exported(name="child",inline=true)
public Collection<PackageResult> getChildren() {
return byPackages.values();
}
......
......@@ -92,7 +92,7 @@ public abstract class AggregatedTestResultAction extends AbstractTestResultActio
/**
* Mainly for the remote API. Expose results from children.
*/
@Exported
@Exported(inline=true)
public List<ChildReport> getChildReports() {
return new AbstractList<ChildReport>() {
public ChildReport get(int index) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册