|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractDescribableImpl<Axis>
hudson.matrix.Axis
public class Axis
Configuration axis.
This class represents a single dimension of the configuration matrix. For example, the JAX-WS RI test configuration might include one axis "container={glassfish,tomcat,jetty}" and another axis "stax={sjsxp,woodstox}", and so on.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary | |
|---|---|
String |
name
Deprecated. as of 1.373 Use getName() |
List<String> |
values
Deprecated. as of 1.373 Use getValues() |
| Constructor Summary | |
|---|---|
Axis(String name,
List<String> values)
|
|
Axis(String name,
String... values)
|
|
Axis(String name,
String valueString)
Used to build Axis from form. |
|
| Method Summary | |
|---|---|
void |
addBuildVariable(String value,
Map<String,String> map)
Converts the selected value (which is among values) and adds
that to the given map, which serves as the build variables. |
static DescriptorExtensionList<Axis,AxisDescriptor> |
all()
Returns all the registered AxisDescriptors. |
int |
compareTo(Axis that)
Axis is fully ordered so that we can convert between a list of axis and a string unambiguously. |
boolean |
equals(Object o)
|
AxisDescriptor |
getDescriptor()
Gets the descriptor for this instance. |
String |
getName()
Name of this axis. |
List<String> |
getValues()
Possible values for this axis. |
String |
getValueString()
Used for generating the config UI. |
int |
hashCode()
|
int |
indexOf(String value)
The inverse of value(int). |
boolean |
isSystem()
Deprecated. as of 1.373 System vs user difference are generalized into extension point. |
Iterator<String> |
iterator()
|
static Axis |
parsePrefixed(org.kohsuke.stapler.StaplerRequest req,
String name)
Parses the submitted form (where possible values are presented as a list of checkboxes) and creates an axis |
Object |
readResolve()
Previously we used to persist Axis, but now those are divided
into subtypes. |
int |
size()
|
String |
toString()
|
String |
value(int index)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String name
getName()
public final List<String> values
getValues()
| Constructor Detail |
|---|
public Axis(String name,
List<String> values)
public Axis(String name,
String... values)
@DataBoundConstructor
public Axis(String name,
String valueString)
Axis from form.
Axis with empty values need to be removed later.
| Method Detail |
|---|
public boolean isSystem()
public Iterator<String> iterator()
iterator in interface Iterable<String>public int size()
public String value(int index)
public int indexOf(String value)
value(int).
public int compareTo(Axis that)
compareTo in interface Comparable<Axis>public String getName()
public List<String> getValues()
public AxisDescriptor getDescriptor()
Describable Descriptor is a singleton for every concrete
Describable implementation, so if
a.getClass()==b.getClass() then
a.getDescriptor()==b.getDescriptor() must hold.
getDescriptor in interface Describable<Axis>getDescriptor in class AbstractDescribableImpl<Axis>public String toString()
toString in class Objectpublic String getValueString()
public static Axis parsePrefixed(org.kohsuke.stapler.StaplerRequest req,
String name)
public Object readResolve()
Axis, but now those are divided
into subtypes. So upon deserialization, resolve to the proper type.
public static DescriptorExtensionList<Axis,AxisDescriptor> all()
AxisDescriptors.
public void addBuildVariable(String value,
Map<String,String> map)
values) and adds
that to the given map, which serves as the build variables.
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||