|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.com.centrumsystems.hudson.plugin.buildpipeline.Grid<BuildForm>
au.com.centrumsystems.hudson.plugin.buildpipeline.BuildGrid
au.com.centrumsystems.hudson.plugin.buildpipeline.DefaultBuildGridImpl
public class DefaultBuildGridImpl
BuildGrid
implementation backed by a sparse array.
Constructor Summary | |
---|---|
DefaultBuildGridImpl()
|
Method Summary | |
---|---|
BuildForm |
get(int row,
int col)
Obtains the project placed at the specific position. |
int |
getColumns()
Width of the grid. |
int |
getRows()
Height of the grid. |
void |
set(int row,
int col,
BuildForm p)
Mutable, but only for the code that instantiates DefaultBuildGridImpl . |
Methods inherited from class au.com.centrumsystems.hudson.plugin.buildpipeline.Grid |
---|
getNextAvailableRow, isEmpty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBuildGridImpl()
Method Detail |
---|
public void set(int row, int col, BuildForm p)
DefaultBuildGridImpl
.
row
- position of the formcol
- position of the formp
- The build to add. null to remove the value.public BuildForm get(int row, int col)
Grid
get
in class Grid<BuildForm>
row
- 0<=row<getRows()
col
- 0<=col<getColumns()
public int getColumns()
Grid
getColumns
in class Grid<BuildForm>
public int getRows()
Grid
getRows
in class Grid<BuildForm>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |