public class TabColours extends Object
Constructor and Description |
---|
TabColours() |
Modifier and Type | Method and Description |
---|---|
void |
configure(net.sf.json.JSONObject formData)
Remember values received from config page.
|
hudson.util.ListBoxModel |
doFillTabColourDefaultItems()
Supply options for config page drop down.
|
hudson.util.ListBoxModel |
doFillTabColourDisabledItems()
Supply options for config page drop down.
|
hudson.util.ListBoxModel |
doFillTabColourFailedItems()
Supply options for config page drop down.
|
hudson.util.ListBoxModel |
doFillTabColourUnstableItems()
Supply options for config page drop down.
|
String |
getColourFor(JobStatusCount jobCounts)
Returns the appropriate colour setting for the supplied job status counts, in the correct
order or precedence.
|
String |
getTabColourCustom1() |
String |
getTabColourCustom2() |
String |
getTabColourCustom3() |
String |
getTabColourCustom4() |
String |
getTabColourDefault() |
String |
getTabColourDisabled() |
String |
getTabColourFailed() |
String |
getTabColourUnstable() |
void |
setTabColourCustom1(String tabColourCustom1) |
void |
setTabColourCustom2(String tabColourCustom2) |
void |
setTabColourCustom3(String tabColourCustom3) |
void |
setTabColourCustom4(String tabColourCustom4) |
void |
setTabColourDefault(String tabColourDefault) |
void |
setTabColourDisabled(String tabColourDisabled) |
void |
setTabColourFailed(String tabColourFailed) |
void |
setTabColourUnstable(String tabColourUnstable) |
public void configure(net.sf.json.JSONObject formData)
formData
- public hudson.util.ListBoxModel doFillTabColourDefaultItems()
public hudson.util.ListBoxModel doFillTabColourDisabledItems()
public hudson.util.ListBoxModel doFillTabColourUnstableItems()
public hudson.util.ListBoxModel doFillTabColourFailedItems()
public String getColourFor(JobStatusCount jobCounts)
jobCounts
- Job status countspublic String getTabColourDefault()
public String getTabColourDisabled()
public String getTabColourUnstable()
public String getTabColourFailed()
public String getTabColourCustom1()
public String getTabColourCustom2()
public String getTabColourCustom3()
public String getTabColourCustom4()
public void setTabColourDefault(String tabColourDefault)
public void setTabColourDisabled(String tabColourDisabled)
public void setTabColourUnstable(String tabColourUnstable)
public void setTabColourFailed(String tabColourFailed)
public void setTabColourCustom1(String tabColourCustom1)
public void setTabColourCustom2(String tabColourCustom2)
public void setTabColourCustom3(String tabColourCustom3)
public void setTabColourCustom4(String tabColourCustom4)
Copyright © 2004-2016. All Rights Reserved.