com.michelin.cio.hudson.plugins.wasbuilder
Class WASBuildStep.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
          extended by com.michelin.cio.hudson.plugins.wasbuilder.WASBuildStep.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
WASBuildStep

@Extension
public static class WASBuildStep.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>


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
  WASBuildStep.DescriptorImpl()
           
protected WASBuildStep.DescriptorImpl(Class<? extends WASBuildStep> clazz)
           
 
Method Summary
 hudson.util.FormValidation doCheckCommands(String value)
           
 hudson.util.FormValidation doCheckScriptFile(String value)
           
 String getDisplayName()
           
 String[] getLanguages()
          Returns the possible languages supported by wsadmin.
 WASServer[] getWasServers()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
           
 hudson.tasks.Builder newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, 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

WASBuildStep.DescriptorImpl

public WASBuildStep.DescriptorImpl()

WASBuildStep.DescriptorImpl

protected WASBuildStep.DescriptorImpl(Class<? extends WASBuildStep> clazz)
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Builder>

getLanguages

public String[] getLanguages()
Returns the possible languages supported by wsadmin.

This method needs to be placed here so that the list can be accessible from WASBuildStep's config.jelly file: config.jelly is not able to access such a method if it is placed, even statically, into WASBuildStep.


getWasServers

public WASServer[] getWasServers()

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>

newInstance

public hudson.tasks.Builder newInstance(org.kohsuke.stapler.StaplerRequest req,
                                        net.sf.json.JSONObject formData)
                                 throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Builder>
Throws:
hudson.model.Descriptor.FormException

doCheckCommands

public hudson.util.FormValidation doCheckCommands(@QueryParameter
                                                  String value)

doCheckScriptFile

public hudson.util.FormValidation doCheckScriptFile(@QueryParameter
                                                    String value)


Copyright © 2004-2011. All Rights Reserved.