java.lang.Object
com.polarion.alm.shared.api.utils.velocity.ColorTool

public class ColorTool extends Object
Since:
3.18.1
  • Constructor Details

    • ColorTool

      public ColorTool()
  • Method Details

    • tryParse

      @Nullable public Color tryParse(@Nullable String colorString, @Nullable String defaultColorString)
      Parses the color string, or, if it cannot be parsed, returns the default color string. If colorString cannot be parsed, uses defaultColorString. Returns null only if neither of the color strings can be parsed.