PublisherJob constructor
Creates a new PublisherJob instance.
fastlane- Fastlane publisher arguments (optional)firebase- Firebase publisher arguments (optional)xcrun- XCrun publisher arguments (optional)github- GitHub publisher arguments (optional)
At least one publisher must be specified. Sets up parent-child relationships for proper configuration inheritance.
Throws Exception if all publishers are null.
Implementation
PublisherJob({this.fastlane, this.firebase, this.xcrun, this.github}) {
if (fastlane == null &&
xcrun == null &&
firebase == null &&
github == null) {
throw Exception(
"Fastlane, Firebase, Github, or XCrun publisher argument must be provided.",
);
}
// Establish parent-child relationships for configuration hierarchy
fastlane?.parent = this;
firebase?.parent = this;
xcrun?.parent = this;
github?.parent = this;
}