提交 75035791 编写于 作者: K kohsuke

exposing these to allow plugins and clients to diagnose less-capable channel graecfully.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26113 71c3de6d-444a-0410-be80-ed276b4c234a
上级 548d2b07
......@@ -22,7 +22,7 @@ import java.io.ObjectInputStream;
* @author Kohsuke Kawaguchi
* @see Channel#remoteCapability
*/
final class Capability implements Serializable {
public final class Capability implements Serializable {
/**
* Bit mask of optional capabilities.
*/
......@@ -42,7 +42,7 @@ final class Capability implements Serializable {
*
* @see MultiClassLoaderSerializer
*/
boolean supportsMultiClassLoaderRPC() {
public boolean supportsMultiClassLoaderRPC() {
return (mask&MASK_MULTI_CLASSLOADER)!=0;
}
......
......@@ -191,7 +191,7 @@ public class Channel implements VirtualChannel, IChannel {
/**
* Capability of the remote {@link Channel}.
*/
final Capability remoteCapability;
public final Capability remoteCapability;
/**
* When did we receive any data from this slave the last time?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册