Package hudson.plugins.ansicolor
Class AnsiColorMap
- java.lang.Object
-
- hudson.plugins.ansicolor.AnsiColorMap
-
- All Implemented Interfaces:
Serializable
public final class AnsiColorMap extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnsiColorMap.Color
-
Field Summary
Fields Modifier and Type Field Description static AnsiColorMap
CSS
static AnsiColorMap
Default
static String
DefaultName
static AnsiColorMap
GnomeTerminal
static AnsiColorMap
VGA
static AnsiColorMap
XTerm
-
Constructor Summary
Constructors Constructor Description AnsiColorMap(String name, String black, String red, String green, String yellow, String blue, String magenta, String cyan, String white, String blackB, String redB, String greenB, String yellowB, String blueB, String magentaB, String cyanB, String whiteB, Integer defaultForeground, Integer defaultBackground)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnsiColorMap[]
defaultColorMaps()
boolean
equals(Object obj)
String
getBlack()
String
getBlackB()
String
getBlue()
String
getBlueB()
String
getBright(int index)
String
getCyan()
String
getCyanB()
Integer
getDefaultBackground()
Integer
getDefaultForeground()
String
getGreen()
String
getGreenB()
String
getMagenta()
String
getMagentaB()
String
getName()
String
getNormal(int index)
String
getRed()
String
getRedB()
String
getWhite()
String
getWhiteB()
String
getYellow()
String
getYellowB()
int
hashCode()
protected Object
readResolve()
-
-
-
Field Detail
-
XTerm
public static final AnsiColorMap XTerm
-
VGA
public static final AnsiColorMap VGA
-
CSS
public static final AnsiColorMap CSS
-
GnomeTerminal
public static final AnsiColorMap GnomeTerminal
-
Default
public static final AnsiColorMap Default
-
DefaultName
public static final String DefaultName
-
-
Constructor Detail
-
AnsiColorMap
@DataBoundConstructor public AnsiColorMap(String name, String black, String red, String green, String yellow, String blue, String magenta, String cyan, String white, String blackB, String redB, String greenB, String yellowB, String blueB, String magentaB, String cyanB, String whiteB, Integer defaultForeground, Integer defaultBackground)
-
-
Method Detail
-
defaultColorMaps
public static AnsiColorMap[] defaultColorMaps()
-
readResolve
protected Object readResolve()
-
getName
public String getName()
-
getBlack
public String getBlack()
-
getRed
public String getRed()
-
getGreen
public String getGreen()
-
getYellow
public String getYellow()
-
getBlue
public String getBlue()
-
getMagenta
public String getMagenta()
-
getCyan
public String getCyan()
-
getWhite
public String getWhite()
-
getBlackB
public String getBlackB()
-
getRedB
public String getRedB()
-
getGreenB
public String getGreenB()
-
getYellowB
public String getYellowB()
-
getBlueB
public String getBlueB()
-
getMagentaB
public String getMagentaB()
-
getCyanB
public String getCyanB()
-
getWhiteB
public String getWhiteB()
-
getNormal
public String getNormal(int index)
-
getBright
public String getBright(int index)
-
getDefaultForeground
public Integer getDefaultForeground()
-
getDefaultBackground
public Integer getDefaultBackground()
-
-