Class: Fastlane::Actions::AndroidShutdownEmulatorAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::AndroidShutdownEmulatorAction
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb
Documentation collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .output ⇒ Object
- .return_value ⇒ Object
Class Method Summary collapse
Class Method Details
.authors ⇒ Object
41 42 43 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 41 def self. ['Automattic'] end |
.available_options ⇒ Object
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 23 def self. [ FastlaneCore::ConfigItem.new(key: :serials, env_name: 'FL_ANDROID_SHUTDOWN_EMULATOR_SERIALS', description: 'The serial(s) of the emulators to shut down. If not provided (nil), will shut them all down', type: Array, optional: true, default_value: nil), ] end |
.description ⇒ Object
15 16 17 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 15 def self.description 'Shuts down Android emulators' end |
.details ⇒ Object
19 20 21 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 19 def self.details description end |
.is_supported?(platform) ⇒ Boolean
45 46 47 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 45 def self.is_supported?(platform) platform == :android end |
.output ⇒ Object
34 35 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 34 def self.output end |
.return_value ⇒ Object
37 38 39 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 37 def self.return_value # If you method provides a return value, you can describe here what it does end |
.run(params) ⇒ Object
6 7 8 9 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 6 def self.run(params) helper = Fastlane::Helper::Android::EmulatorHelper.new helper.shut_down_emulators!(serials: params[:serials]) end |