Arguments class
Publishes Android artifacts through the AppGallery Connect REST API.
- Inheritance
-
- Object
- JobArguments
- PublisherArguments
- Arguments
Constructors
- Arguments(Variables variables, {required String filePath, required String binaryType, String? credentialFile, String? clientId, String? clientSecret, String? appId, String? releaseNotes, String language = 'en-US', bool submit = true, int releaseType = 1, Duration pollInterval = const Duration(seconds: 15), Duration pollTimeout = const Duration(minutes: 10), String baseUrl = defaultBaseUrl, Dio? dio})
- Arguments.defaultConfigs(ArgResults? globalResults)
-
factory
- Arguments.fromArgResults(ArgResults results, ArgResults? global)
-
factory
-
Arguments.fromJson(Map<
String, dynamic> json, {required Variables variables, Dio? dio}) -
factory
Properties
- appId → String?
-
final
-
argumentBuilder
↔ List<
String> -
Raw list of command-line arguments before variable processing.
getter/setter pairinherited-setteroverride-getter
-
arguments
→ Future<
List< String> > -
Processes variables in arguments and returns the final command-line arguments.
no setterinherited
- baseUrl → String
-
final
- binaryType → String
-
The type of application binary being published.
finalinherited
- clientId → String?
-
final
- clientSecret → String?
-
final
- credentialFile → String?
-
final
- filePath ↔ String
-
The file system path to the application binary to be published.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String
-
final
- logger ↔ ColorizeLogger
-
Logger instance for outputting colored messages.
getter/setter pairinherited
- packageNameOverride ↔ String?
-
Application identifier explicitly provided for this publisher.
getter/setter pairinherited
- parent ↔ PublisherJob?
-
Reference to the parent publisher job that contains this publisher.
getter/setter pairinherited
- pollInterval → Duration
-
final
- pollTimeout → Duration
-
final
- publisher → String
-
The name identifier of the publisher platform.
finalinherited
- releaseNotes → String?
-
final
- releaseType → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretKeys
→ Set<
String> -
Configuration keys whose values must never be printed or logged.
no setteroverride
- submit → bool
-
final
- 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 the resolved configuration of a job.
inherited
-
processFilesArgs(
) → Future< void> -
Processes and validates file arguments before publishing.
inherited
-
publish(
) → Future< int> -
Initiates the application publishing process.
override
-
registerSecrets(
) → Future< void> -
Resolves every secret value and registers it with the logger.
inherited
-
resolvePackageName(
) → String -
The application identifier this publisher should target.
inherited
-
runProcess(
List< String> arguments) → Future<int> -
Runs the publisher executable with
argumentsand streams its output.inherited -
toJson(
) → Map< String, dynamic> -
Converts the job arguments to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- parser → ArgParser
-
no setter
Constants
- defaultBaseUrl → const String