mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
added one more method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2982 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
ee63d5187c
commit
964fdabe18
1 file changed
+7
@@ -828,6 +828,13 @@ public final class FilePath implements Serializable {
|
||||
else return Hudson.MasterComputer.localChannel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if this {@link FilePath} represents a remote file.
|
||||
*/
|
||||
public boolean isRemote() {
|
||||
return channel;
|
||||
}
|
||||
|
||||
private void writeObject(ObjectOutputStream oos) throws IOException {
|
||||
Channel target = Channel.current();
|
||||
|
||||
|
||||
Reference in new issue
Block a user