hudson.plugins.promoted_builds_simple
Class PromotionLevelParameter
java.lang.Object
hudson.model.ParameterDefinition
hudson.model.SimpleParameterDefinition
hudson.plugins.promoted_builds_simple.PromotionLevelParameter
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.model.ParameterDefinition>, Serializable
public class PromotionLevelParameter
- extends hudson.model.SimpleParameterDefinition
Build parameter to select a promotion level from the list of configured levels.
- Author:
- Alan Harder
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class hudson.model.ParameterDefinition |
hudson.model.ParameterDefinition.ParameterDescriptor |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.ParameterDefinition |
LIST |
Methods inherited from class hudson.model.SimpleParameterDefinition |
createValue, createValue |
Methods inherited from class hudson.model.ParameterDefinition |
all, getDescription, getDescriptor, getName, getType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PromotionLevelParameter
@DataBoundConstructor
public PromotionLevelParameter(String name,
int defaultLevel,
String description)
getDefaultLevel
public int getDefaultLevel()
getDefaultParameterValue
public hudson.model.ParameterValue getDefaultParameterValue()
- Overrides:
getDefaultParameterValue
in class hudson.model.ParameterDefinition
createValue
public hudson.model.ParameterValue createValue(String value)
- Specified by:
createValue
in class hudson.model.SimpleParameterDefinition
createValue
public hudson.model.ParameterValue createValue(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jo)
- Specified by:
createValue
in class hudson.model.ParameterDefinition
Copyright © 2004-2011. All Rights Reserved.