提交 0a0023bc 编写于 作者: S sogabe

added @ExportedBean so that Remote API /computer/api/ works.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17113 71c3de6d-444a-0410-be80-ed276b4c234a
上级 e29cb4b2
......@@ -35,6 +35,7 @@ import java.io.IOException;
import java.io.Serializable;
import java.util.logging.Logger;
import java.math.BigDecimal;
import org.kohsuke.stapler.export.ExportedBean;
/**
* {@link AbstractNodeMonitorDescriptor} for {@link NodeMonitor} that checks a free disk space of some directory.
......@@ -44,7 +45,8 @@ import java.math.BigDecimal;
/*package*/ abstract class DiskSpaceMonitorDescriptor extends AbstractNodeMonitorDescriptor<DiskSpace> {
/**
* Value object that represents the disk space.
*/
*/
@ExportedBean
public static final class DiskSpace implements Serializable {
public final long size;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册