public class BlockFluentImpl<A extends BlockFluent<A>> extends BaseFluent<A> implements BlockFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
BlockFluentImpl.StringStatementStatementsNestedImpl<N> |
BlockFluent.StringStatementStatementsNested<N>
_visitables
Constructor and Description |
---|
BlockFluentImpl() |
BlockFluentImpl(Block instance) |
public BlockFluentImpl()
public BlockFluentImpl(Block instance)
public A addToStatements(VisitableBuilder<? extends Statement,?> builder)
addToStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A addToStatements(int index, VisitableBuilder<? extends Statement,?> builder)
addToStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A addToStatements(int index, Statement item)
addToStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A setToStatements(int index, Statement item)
setToStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A addToStatements(Statement... items)
addToStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A addAllToStatements(Collection<Statement> items)
addAllToStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A removeFromStatements(VisitableBuilder<? extends Statement,?> builder)
removeFromStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A removeFromStatements(Statement... items)
removeFromStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A removeAllFromStatements(Collection<Statement> items)
removeAllFromStatements
in interface BlockFluent<A extends BlockFluent<A>>
@Deprecated public List<Statement> getStatements()
getStatements
in interface BlockFluent<A extends BlockFluent<A>>
public List<Statement> buildStatements()
buildStatements
in interface BlockFluent<A extends BlockFluent<A>>
public Statement buildStatement(int index)
buildStatement
in interface BlockFluent<A extends BlockFluent<A>>
public Statement buildFirstStatement()
buildFirstStatement
in interface BlockFluent<A extends BlockFluent<A>>
public Statement buildLastStatement()
buildLastStatement
in interface BlockFluent<A extends BlockFluent<A>>
public Statement buildMatchingStatement(Predicate<VisitableBuilder<? extends Statement,?>> predicate)
buildMatchingStatement
in interface BlockFluent<A extends BlockFluent<A>>
public Boolean hasMatchingStatement(Predicate<VisitableBuilder<? extends Statement,?>> predicate)
hasMatchingStatement
in interface BlockFluent<A extends BlockFluent<A>>
public A withStatements(List<Statement> statements)
withStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A withStatements(Statement... statements)
withStatements
in interface BlockFluent<A extends BlockFluent<A>>
public Boolean hasStatements()
hasStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A addToStringStatementStatements(int index, StringStatement item)
addToStringStatementStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A setToStringStatementStatements(int index, StringStatement item)
setToStringStatementStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A addToStringStatementStatements(StringStatement... items)
addToStringStatementStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A addAllToStringStatementStatements(Collection<StringStatement> items)
addAllToStringStatementStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A removeFromStringStatementStatements(StringStatement... items)
removeFromStringStatementStatements
in interface BlockFluent<A extends BlockFluent<A>>
public A removeAllFromStringStatementStatements(Collection<StringStatement> items)
removeAllFromStringStatementStatements
in interface BlockFluent<A extends BlockFluent<A>>
public BlockFluent.StringStatementStatementsNested<A> addNewStringStatementStatement()
addNewStringStatementStatement
in interface BlockFluent<A extends BlockFluent<A>>
public BlockFluent.StringStatementStatementsNested<A> addNewStringStatementStatementLike(StringStatement item)
addNewStringStatementStatementLike
in interface BlockFluent<A extends BlockFluent<A>>
public A addNewStringStatementStatement(String data)
addNewStringStatementStatement
in interface BlockFluent<A extends BlockFluent<A>>
public A addNewStringStatementStatement(String data, Object[] parameters)
addNewStringStatementStatement
in interface BlockFluent<A extends BlockFluent<A>>
public BlockFluent.StringStatementStatementsNested<A> setNewStringStatementStatementLike(int index, StringStatement item)
setNewStringStatementStatementLike
in interface BlockFluent<A extends BlockFluent<A>>
Copyright © 2019 JBoss by Red Hat. All rights reserved.