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 this assertion (an sub-class of AbstractSubOutputter
).V
- The class of this assertion on the value (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 AbstractSubOutputter<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<S,A,D,A,C,CV,R,RV> implements OriginWithColumnsAndRows<C,R>, ToValue<V>
origin
outputType
info, myself
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getValueDescription(int index)
Returns the value description.
|
protected abstract Position<S,V,Value> |
getValuePosition()
Returns the position of navigation to value.
|
protected abstract List<Value> |
getValuesList()
Returns the list of values.
|
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
getOutput, toConsole, toFile, toStream, withType
as, as, describedAs, describedAs, getInfo
protected abstract String getValueDescription(int index)
index
- The index of the 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)
protected abstract Position<S,V,Value> getValuePosition()
Copyright © 2020 AssertJ. All rights reserved.