Package io.sundr.model
Class DeclareFluent<A extends DeclareFluent<A>>
java.lang.Object
io.sundr.builder.BaseFluent<A>
io.sundr.model.DeclareFluent<A>
- Direct Known Subclasses:
AssignFluent.DeclareTargetNested,AssignFluent.DeclareValueNested,BinaryExpressionFluent.DeclareLeftNested,BinaryExpressionFluent.DeclareRightNested,BlockFluent.DeclareStatementsNested,CastFluent.DeclareExpressionNested,ConstructFluent.DeclareArgumentsNested,DeclareBuilder,DoFluent.DeclareConditionNested,DoFluent.DeclareStatementNested,EnclosedFluent.DeclareExpresionNested,ForeachFluent.DeclareBodyNested,ForeachFluent.DeclareExpressionNested,ForeachFluent.DeclareNested,ForFluent.DeclareBodyNested,ForFluent.DeclareCompareNested,ForFluent.DeclareInitNested,ForFluent.DeclareUpdateNested,IfFluent.DeclareConditionNested,IfFluent.DeclareStatementNested,IndexFluent.DeclareExpressionNested,IndexFluent.DeclareScopeNested,InstanceOfFluent.DeclareExpressionNested,InverseFluent.DeclareExpresionNested,LambdaFluent.DeclareStatementNested,MethodCallFluent.DeclareArgumentsNested,MethodCallFluent.DeclareScopeNested,NegativeFluent.DeclareExpresionNested,NewArrayFluent.DeclareExpressionsNested,NotFluent.DeclareExpresionNested,PositiveFluent.DeclareExpresionNested,PostDecrementFluent.DeclareExpressionNested,PostIncrementFluent.DeclareExpressionNested,PreDecrementFluent.DeclareExpressionNested,PreIncrementFluent.DeclareExpressionNested,PropertyRefFluent.DeclareScopeNested,ReturnFluent.DeclareExpressionNested,SwitchFluent.DeclareExpressionNested,TernaryFluent.DeclareAlternativeNested,TernaryFluent.DeclareConditionNested,TernaryFluent.DeclareResultNested,WhileFluent.DeclareConditionNested,WhileFluent.DeclareStatementNested
Generated
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.sundr.builder.BaseFluent
_visitables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllToProperties(Collection<Property> items) addNewPropertyLike(Property item) addToProperties(int index, Property item) addToProperties(Property... items) buildMatchingProperty(Predicate<PropertyBuilder> predicate) buildProperty(int index) protected voidcopyInstance(Declare instance) editMatchingProperty(Predicate<PropertyBuilder> predicate) editProperty(int index) booleangetValue()inthashCode()booleanhasMatchingProperty(Predicate<PropertyBuilder> predicate) booleanbooleanhasValue()removeFromProperties(Property... items) removeMatchingFromProperties(Predicate<PropertyBuilder> predicate) setNewPropertyLike(int index, Property item) setToProperties(int index, Property item) toString()withProperties(Property... properties) withProperties(List<Property> properties) withValue(Expression value) withValue(Optional<Expression> value) Methods inherited from class io.sundr.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
Constructor Details
-
DeclareFluent
public DeclareFluent() -
DeclareFluent
-
-
Method Details
-
copyInstance
-
addToProperties
-
setToProperties
-
addToProperties
-
addAllToProperties
-
removeFromProperties
-
removeAllFromProperties
-
removeMatchingFromProperties
-
buildProperties
-
buildProperty
-
buildFirstProperty
-
buildLastProperty
-
buildMatchingProperty
-
hasMatchingProperty
-
withProperties
-
withProperties
-
hasProperties
public boolean hasProperties() -
addNewProperty
-
addNewPropertyLike
-
setNewPropertyLike
-
editProperty
-
editFirstProperty
-
editLastProperty
-
editMatchingProperty
public DeclareFluent<A>.PropertiesNested<A> editMatchingProperty(Predicate<PropertyBuilder> predicate) -
withValue
-
withValue
-
getValue
-
hasValue
public boolean hasValue() -
equals
- Overrides:
equalsin classBaseFluent<A extends DeclareFluent<A>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseFluent<A extends DeclareFluent<A>>
-
toString
-