hudson.plugins.nodejs
Class NodeJsCommandInterpreter.NodeJsDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<hudson.tasks.Builder>
      extended by hudson.plugins.nodejs.NodeJsCommandInterpreter.NodeJsDescriptor
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
NodeJsCommandInterpreter

public static final class NodeJsCommandInterpreter.NodeJsDescriptor
extends hudson.model.Descriptor<hudson.tasks.Builder>

Provides builder details for the job configuration page.

Author:
cliffano

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
private NodeJsCommandInterpreter.NodeJsDescriptor()
          Constructs a NodeJsCommandInterpreter.NodeJsDescriptor.
 
Method Summary
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile()
           
 hudson.tasks.Builder newInstance(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject json)
          Retrieve the NodeJS script from the job configuration page, pass it to a new command interpreter.
 
Methods inherited from class hudson.model.Descriptor
configure, configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeJsCommandInterpreter.NodeJsDescriptor

private NodeJsCommandInterpreter.NodeJsDescriptor()
Constructs a NodeJsCommandInterpreter.NodeJsDescriptor.

Method Detail

newInstance

public hudson.tasks.Builder newInstance(org.kohsuke.stapler.StaplerRequest request,
                                        net.sf.json.JSONObject json)
Retrieve the NodeJS script from the job configuration page, pass it to a new command interpreter.

Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Builder>
Parameters:
request - the Stapler request
json - the JSON object
Returns:
new instance of NodeJsCommandInterpreter

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>
Returns:
the builder instruction

getHelpFile

public java.lang.String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Builder>
Returns:
the help file URL path


Copyright © 2010. All Rights Reserved.