Package io.quarkus.qute
Class Parameter
java.lang.Object
io.quarkus.qute.Parameter
Definition of a section factory parameter.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAllows a factory parameter to refuse a value of an unnamed actual parameter.static Parameter.BuildergetName()booleanbooleantoString()
-
Field Details
-
EMPTY
- See Also:
-
name
-
defaultValue
-
optional
public final boolean optional -
valuePredicate
-
-
Constructor Details
-
Parameter
-
-
Method Details
-
builder
-
getName
-
getDefaultValue
-
hasDefaultValue
public boolean hasDefaultValue() -
isOptional
public boolean isOptional() -
accepts
Allows a factory parameter to refuse a value of an unnamed actual parameter.- Parameters:
value-- Returns:
trueif the value is acceptable,falseotherwise
-
toString
-