MatrixShard class final
One of the count shares of the apps of a run of the matrix that jobs
of CI check side by side, the one numbered index, from 1: the apps at
the positions whose remainder after division by count is index - 1,
so each app is in exactly one share and the apps of a share keep their
order.
Constructors
- MatrixShard(int index, int count)
-
Creates the share
indexofcount.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
of<
T> (List< T> items) → List<T> -
The items of
itemsthat the shard takes, in their order. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
allOf(
int count) → List< MatrixShard> -
The shards 1 to
countofcount. -
parse(
String text) → MatrixShard? -
The shard of
text,<index>/<count>such as2/3, ornullif it is none: an index from 1 to the count.