jenkins.plugins.shiningpanda.workspace
Class WorkspaceHomeProperty

java.lang.Object
  extended by hudson.slaves.NodeProperty<hudson.model.Node>
      extended by jenkins.plugins.shiningpanda.workspace.WorkspaceHomeProperty
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.NodeProperty<?>>, hudson.model.ReconfigurableDescribable<hudson.slaves.NodeProperty<?>>

public class WorkspaceHomeProperty
extends hudson.slaves.NodeProperty<hudson.model.Node>


Nested Class Summary
static class WorkspaceHomeProperty.WorkspaceHomePropertyDescriptor
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 String home
          The home folder.
 
Fields inherited from class hudson.slaves.NodeProperty
node
 
Constructor Summary
WorkspaceHomeProperty(String home)
          Constructor using fields.
 
Method Summary
static hudson.FilePath get(hudson.model.Node node)
          Get the home directory for the given node.
 String getHome()
          Get the home folder.
 
Methods inherited from class hudson.slaves.NodeProperty
all, canTake, canTake, for_, getDescriptor, reconfigure, setNode, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

home

public String home
The home folder.

Constructor Detail

WorkspaceHomeProperty

@DataBoundConstructor
public WorkspaceHomeProperty(String home)
Constructor using fields.

Parameters:
home - The home folder
Method Detail

getHome

public String getHome()
Get the home folder.

Returns:
The home folder

get

public static hudson.FilePath get(hudson.model.Node node)
Get the home directory for the given node.

Parameters:
node - The node
Returns:
The home directory


Copyright © 2004-2012. All Rights Reserved.