ProcessingState enum

This package's vocabulary for Apple's processingState.

The members are what this package names, not what Apple has, and that is the point rather than a shortfall: wire is what the document carries, so a caller writes against a closed list that does not move when Apple's does. AppStoreBuildEntry.processingStateRaw carries Apple's own word for the case unknown covers.

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(valueField: 'wire')

Values

processing → const ProcessingState

Apple is still processing the upload. Not releasable yet — see AppStoreBuildEntry.needsNewUpload, which is the difference between this and failed.

const ProcessingState('processing', 'PROCESSING')
valid → const ProcessingState

Processed and usable, subject to expiry — see AppStoreBuildEntry.usable.

const ProcessingState('valid', 'VALID')
failed → const ProcessingState

Apple refused the binary during processing. Terminal: it will not become valid by waiting.

const ProcessingState('failed', 'FAILED')
invalid → const ProcessingState

As failed, and equally terminal.

const ProcessingState('invalid', 'INVALID')
unknown → const ProcessingState

Apple sent a state this version does not name.

A value of this vocabulary rather than a hole in it — it has a wire spelling of its own, so it survives a round trip. What Apple actually said is in AppStoreBuildEntry.processingStateRaw, which is the field to read when this is the answer.

const ProcessingState('unknown', null)

Properties

appleValue → String?
Apple's spelling, or null for unknown, which Apple has no word for.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wire → String
This package's spelling, and what the document carries. Lowercase, so a reader can tell it from appleValue at a glance.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

needsNewUpload(ProcessingState? state, {required bool expired}) → bool?
Whether a build in state can only be fixed by uploading another one.
read(String? appleValue) → ProcessingState?
Apple's appleValue read as a member: unknown for a value this version does not name, null when Apple sent nothing.

Constants

values → const List<ProcessingState>
A constant List of the values in this enum, in order of their declaration.