Class DefaultBuildGridImpl
java.lang.Object
au.com.centrumsystems.hudson.plugin.buildpipeline.Grid<BuildForm>
au.com.centrumsystems.hudson.plugin.buildpipeline.BuildGrid
au.com.centrumsystems.hudson.plugin.buildpipeline.DefaultBuildGridImpl
BuildGrid implementation backed by a sparse array.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int row, int col) Obtains the project placed at the specific position.intWidth of the grid.intgetRows()Height of the grid.voidMutable, but only for the code that instantiatesDefaultBuildGridImpl.Methods inherited from class au.com.centrumsystems.hudson.plugin.buildpipeline.Grid
getNextAvailableRow, isEmpty
-
Constructor Details
-
DefaultBuildGridImpl
public DefaultBuildGridImpl()
-
-
Method Details
-
set
Mutable, but only for the code that instantiatesDefaultBuildGridImpl.- Parameters:
row- position of the formcol- position of the formp- The build to add. null to remove the value.
-
get
Description copied from class:GridObtains the project placed at the specific position. -
getColumns
public int getColumns()Description copied from class:GridWidth of the grid. Total number of columns.- Specified by:
getColumnsin classGrid<BuildForm>- Returns:
- positive integer
-
getRows
public int getRows()Description copied from class:GridHeight of the grid. Total number of rows.
-