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
39 40 41 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 39 def self. ['Automattic'] end |
.available_options ⇒ Object
21 22 23 24 25 26 27 28 29 30 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 21 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
13 14 15 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 13 def self.description 'Shuts down Android emulators' end |
.details ⇒ Object
17 18 19 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 17 def self.details description end |
.is_supported?(platform) ⇒ Boolean
43 44 45 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 43 def self.is_supported?(platform) platform == :android end |
.output ⇒ Object
32 33 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 32 def self.output end |
.return_value ⇒ Object
35 36 37 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 35 def self.return_value # If you method provides a return value, you can describe here what it does end |
.run(params) ⇒ Object
4 5 6 7 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/actions/android/android_shutdown_emulator_action.rb', line 4 def self.run(params) helper = Fastlane::Helper::Android::EmulatorHelper.new helper.shut_down_emulators!(serials: params[:serials]) end |