public class FlavorDescriptor extends Object implements Serializable
It holds presets that can be referenced in CSS files, as well as logo information. It can extend another flavor, in case it will its logo and presets. The name and label are not inherited.
At registration, presets and log information are merged of a previous contribution with the same name already held that kind of information. When emptying the list of presets.
Constructor and Description |
---|
FlavorDescriptor() |
Modifier and Type | Method and Description |
---|---|
FlavorDescriptor |
clone() |
boolean |
equals(Object obj) |
boolean |
getAppendPresets() |
boolean |
getAppendSass() |
String |
getExtendsFlavor() |
List<IconDescriptor> |
getFavicons() |
String |
getLabel() |
LogoDescriptor |
getLogo() |
String |
getName() |
PalettePreview |
getPalettePreview() |
List<FlavorPresets> |
getPresets() |
List<SassImport> |
getSassImports() |
int |
hashCode() |
void |
merge(FlavorDescriptor src) |
void |
setAppendPresets(boolean appendPresets) |
void |
setAppendSass(boolean appendSass) |
void |
setExtendsFlavor(String extendsFlavor) |
void |
setFavicons(List<IconDescriptor> favicons) |
void |
setLabel(String label) |
void |
setLogo(LogoDescriptor logo) |
void |
setName(String name) |
void |
setPalettePreview(PalettePreview palettePreview) |
void |
setPresets(List<FlavorPresets> presets) |
void |
setSassImports(List<SassImport> sassImports) |
public FlavorDescriptor()
public FlavorDescriptor clone()
public boolean getAppendPresets()
public boolean getAppendSass()
public String getExtendsFlavor()
public List<IconDescriptor> getFavicons()
public LogoDescriptor getLogo()
public PalettePreview getPalettePreview()
public List<FlavorPresets> getPresets()
public List<SassImport> getSassImports()
public void merge(FlavorDescriptor src)
public void setAppendPresets(boolean appendPresets)
public void setAppendSass(boolean appendSass)
public void setExtendsFlavor(String extendsFlavor)
public void setFavicons(List<IconDescriptor> favicons)
public void setLogo(LogoDescriptor logo)
public void setPalettePreview(PalettePreview palettePreview)
public void setPresets(List<FlavorPresets> presets)
public void setSassImports(List<SassImport> sassImports)
Copyright © 2018 Nuxeo. All rights reserved.