C - The type of SimpleChartJs configuration object this builder builds.public interface SimpleChartJsBuilder<C>
isValid()
and build() method.| Modifier and Type | Method and Description |
|---|---|
C |
build()
Builds a valid
C such that builder.build() != builder.build(). |
boolean |
isValid()
Returns
true if the state of this builder, including all its delegate builders, is
ready to build. |
boolean isValid()
true if the state of this builder, including all its delegate builders, is
ready to build. "Ready to build" means that this builder, including all its delegate
builders, is in such a state that build() would return a viable SimpleChartJs
configuration object.C build() throws IllegalStateException
C such that builder.build() != builder.build().C if and only if isValid() returns true.IllegalStateException - if called when isValid() returns falseCopyright © 2018. All rights reserved.