PublisherArguments class abstract

Abstract base class for all application publisher arguments.

Provides common functionality for publishing applications across different platforms and services. Handles file processing, validation, and the publishing workflow for various binary types.

Supported binary types:

  • apk - Android Application Package
  • aab - Android App Bundle
  • ipa - iOS Application Archive

Example usage:

class MyPublisher extends PublisherArguments {
  MyPublisher(Variables variables) : super(
    'my-publisher',
    variables,
    filePath: '/path/to/app.apk',
    binaryType: 'apk',
  );
}
Inheritance
Implementers

Constructors

PublisherArguments(String publisher, Variables variables, {required String filePath, required String binaryType})
Creates a new publisher arguments instance.

Properties

argumentBuilder List<String>
Raw list of command-line arguments before variable processing.
getter/setter pairinherited
arguments Future<List<String>>
Processes variables in arguments and returns the final command-line arguments.
no setterinherited
binaryType String
The type of application binary being published.
final
filePath String
The file system path to the application binary to be published.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logger ColorizeLogger
Logger instance for outputting colored messages.
getter/setter pairinherited
parent PublisherJob
Reference to the parent publisher job that contains this publisher.
getter/setter pair
publisher String
The name identifier of the publisher platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variables Variables
Variable processor for substituting placeholders in arguments.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printJob() Future
Prints job configuration information to the console.
inherited
processFilesArgs() Future<void>
Processes and validates file arguments before publishing.
publish() Future<int>
Initiates the application publishing process.
toJson() Map<String, dynamic>
Converts the job arguments to a JSON representation.
inherited
toString() String
A string representation of this object.
inherited

Operators

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