org.hudsonci.plugins.vault.install
Class NodeContext

java.lang.Object
  extended by org.hudsonci.plugins.vault.install.NodeContext
All Implemented Interfaces:
Serializable

public class NodeContext
extends Object
implements Serializable

Helper to fetch the context for a node.

Author:
Jason Dillon
See Also:
Serialized Form

Nested Class Summary
static class NodeContext.ComputerListenerImpl
          Clear the cache when nodes go offline.
 
Method Summary
static NodeContext fetch(hudson.model.Node node, hudson.remoting.VirtualChannel channel)
           
static NodeContext get(hudson.model.Node node, hudson.remoting.VirtualChannel channel)
           
 Map<String,String> getAttributes()
           
static Map<hudson.model.Node,NodeContext> getCache()
           
 Properties getSystemProperties()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getAttributes

public Map<String,String> getAttributes()

getSystemProperties

public Properties getSystemProperties()

toString

public String toString()
Overrides:
toString in class Object

fetch

public static NodeContext fetch(hudson.model.Node node,
                                hudson.remoting.VirtualChannel channel)
                         throws IOException,
                                InterruptedException
Throws:
IOException
InterruptedException

get

public static NodeContext get(hudson.model.Node node,
                              hudson.remoting.VirtualChannel channel)
                       throws IOException,
                              InterruptedException
Throws:
IOException
InterruptedException

getCache

public static Map<hudson.model.Node,NodeContext> getCache()


Copyright © 2004-2012 Hudson. All Rights Reserved.