|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.AbstractDescribableImpl<hudson.matrix.Axis>
hudson.matrix.Axis
ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis
public class DynamicAxis
Implements dynamic axis support through a configurable environment variable. Warnings about type name colliding with a package in Eclipse can be ignored.
| Nested Class Summary | |
|---|---|
static class |
DynamicAxis.DescriptorImpl
Descriptor for this plugin. |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class hudson.matrix.Axis |
|---|
name, values |
| Constructor Summary | |
|---|---|
DynamicAxis(String name,
String varName)
Always construct from an axis name and environment variable name. |
|
| Method Summary | |
|---|---|
List<String> |
getValues()
Overridden to provide a default value in the event the target environment variable cannot be accessed or interpreted. |
String |
getValueString()
Overridden to return our environment variable name. |
String |
getVarName()
An accessor is required if referenced in the Jelly file. |
List<String> |
rebuild(hudson.matrix.MatrixBuild.MatrixBuildExecution context)
Override the new rebuild() feature to dynamically evaluate the configured environment variable name to get list of axis values to use for the current build. |
| Methods inherited from class hudson.matrix.Axis |
|---|
addBuildVariable, all, compareTo, getDescriptor, getName, indexOf, isSystem, iterator, parsePrefixed, readResolve, size, toString, value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@DataBoundConstructor
public DynamicAxis(String name,
String varName)
name - varName - | Method Detail |
|---|
public String getVarName()
public List<String> getValues()
getValues in class hudson.matrix.AxisAxis.getValues()public String getValueString()
getValueString in class hudson.matrix.AxisAxis.getValueString()public List<String> rebuild(hudson.matrix.MatrixBuild.MatrixBuildExecution context)
rebuild in class hudson.matrix.AxisAxis.rebuild(hudson.matrix.MatrixBuild.MatrixBuildExecution)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||