D
- The class of the actual value (an sub-class of AbstractDbData
).A
- The class of the original assertion (an sub-class of AbstractDbOutputter
).S
- The class of which contains assertion methods about Column
or Row
(an sub-class of
AbstractSubOutputter
).V
- The class of this assertion (an sub-class of AbstractValueOutputter
).C
- The class of this assertion (an sub-class of AbstractColumnOutputter
).CV
- The class of this assertion on the value (an sub-class of AbstractColumnValueOutputter
).R
- The class of the equivalent row assertion (an sub-class of AbstractRowOutputter
).RV
- The class of the equivalent row assertion on the value (an sub-class of AbstractRowValueOutputter
).public abstract class AbstractValueOutputter<D extends AbstractDbData<D>,A extends AbstractDbOutputter<D,A,C,CV,R,RV>,S extends AbstractSubOutputter<D,A,S,V,C,CV,R,RV>,V extends AbstractValueOutputter<D,A,S,V,C,CV,R,RV>,C extends AbstractColumnOutputter<D,A,C,CV,R,RV>,CV extends AbstractColumnValueOutputter<D,A,C,CV,R,RV>,R extends AbstractRowOutputter<D,A,C,CV,R,RV>,RV extends AbstractRowValueOutputter<D,A,C,CV,R,RV>> extends AbstractOutputterWithOriginWithColumnsAndRows<V,S,D,A,C,CV,R,RV> implements ValueElement, ToValue<V>
Modifier and Type | Field and Description |
---|---|
protected Value |
value
The actual value on which this assertion is.
|
origin
outputType
info, myself
Modifier and Type | Method and Description |
---|---|
protected String |
getOutput(Output outputType)
Returns the output for the output
|
V |
value()
Returns assertion methods on the next value in the list of values.
|
V |
value(int index)
Returns assertion methods on the value at the
index in parameter. |
column, column, column, row, row
returnToOrigin
toConsole, toFile, toStream, withType
as, as, describedAs, describedAs, getInfo
protected final Value value
public V value()
value
in interface ToValue<V extends AbstractValueOutputter<D,A,S,V,C,CV,R,RV>>
AbstractSubAssert.value()
,
AbstractValueAssert.value()
,
AbstractSubAssert.value()
,
AbstractValueAssert.value()
,
ChangeRowAssert.value()
,
ChangeRowValueAssert.value()
public V value(int index)
index
in parameter.value
in interface ToValue<V extends AbstractValueOutputter<D,A,S,V,C,CV,R,RV>>
index
- The index corresponding to the value.AbstractSubAssert.value(int)
,
AbstractValueAssert.value(int)
,
AbstractSubAssert.value(int)
,
AbstractValueAssert.value(int)
,
ChangeRowAssert.value(int)
,
ChangeRowValueAssert.value(int)
Copyright © 2020 AssertJ. All rights reserved.