alex.jenkins.plugins
Class FileSystemListParameterDefinition

java.lang.Object
  extended by hudson.model.ParameterDefinition
      extended by alex.jenkins.plugins.FileSystemListParameterDefinition
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.ParameterDefinition>, Serializable

public class FileSystemListParameterDefinition
extends hudson.model.ParameterDefinition

Author:
aendter
See Also:
Serialized Form

Nested Class Summary
static class FileSystemListParameterDefinition.DescriptorImpl
           
static class FileSystemListParameterDefinition.FsObjectTypes
           
 
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition
hudson.model.ParameterDefinition.ParameterDescriptor
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.ParameterDefinition
LIST
 
Constructor Summary
FileSystemListParameterDefinition(String name, String description, String path, String selectedType, boolean sortByLastModified, boolean sortReverseOrder)
           
 
Method Summary
 hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest request)
           
 hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest request, net.sf.json.JSONObject jO)
           
 hudson.model.ParameterValue getDefaultParameterValue()
           
 List<String> getFsObjectsList()
           
 List<String> getJellyFsObjectTypes()
           
 String getPath()
           
 FileSystemListParameterDefinition.FsObjectTypes getSelectedEnumType()
           
 String getSelectedType()
           
 String getValue()
           
 boolean isSortByLastModified()
           
 boolean isSortReverseOrder()
           
 void setValue(String value)
           
 
Methods inherited from class hudson.model.ParameterDefinition
all, copyWithDefaultValue, createValue, getDescription, getDescriptor, getName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemListParameterDefinition

@DataBoundConstructor
public FileSystemListParameterDefinition(String name,
                                                              String description,
                                                              String path,
                                                              String selectedType,
                                                              boolean sortByLastModified,
                                                              boolean sortReverseOrder)
Parameters:
name -
description -
Method Detail

createValue

public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest request)
Specified by:
createValue in class hudson.model.ParameterDefinition

createValue

public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest request,
                                               net.sf.json.JSONObject jO)
Specified by:
createValue in class hudson.model.ParameterDefinition

getDefaultParameterValue

public hudson.model.ParameterValue getDefaultParameterValue()
Overrides:
getDefaultParameterValue in class hudson.model.ParameterDefinition

getFsObjectsList

public List<String> getFsObjectsList()
                              throws IOException
Throws:
IOException

getJellyFsObjectTypes

public List<String> getJellyFsObjectTypes()

getPath

public String getPath()

getSelectedType

public String getSelectedType()

isSortByLastModified

public boolean isSortByLastModified()

isSortReverseOrder

public boolean isSortReverseOrder()

getSelectedEnumType

public FileSystemListParameterDefinition.FsObjectTypes getSelectedEnumType()

getValue

public String getValue()

setValue

public void setValue(String value)


Copyright © 2004-2014. All Rights Reserved.