Class: Pindo::GPComplianceHelper::ComplianceResult
- Inherits:
-
Object
- Object
- Pindo::GPComplianceHelper::ComplianceResult
- Defined in:
- lib/pindo/module/android/gp_compliance_helper.rb
Overview
Google Play 合规检测结果
Instance Attribute Summary collapse
-
#aab_size_mb ⇒ Object
Returns the value of attribute aab_size_mb.
-
#base_percent ⇒ Object
Returns the value of attribute base_percent.
-
#base_size_mb ⇒ Object
Returns the value of attribute base_size_mb.
-
#compliance_issues ⇒ Object
Returns the value of attribute compliance_issues.
-
#elf_alignment_compliant ⇒ Object
Returns the value of attribute elf_alignment_compliant.
-
#size_compliant ⇒ Object
Returns the value of attribute size_compliant.
-
#target_sdk_compliant ⇒ Object
Returns the value of attribute target_sdk_compliant.
-
#target_sdk_version ⇒ Object
Returns the value of attribute target_sdk_version.
-
#total_libs ⇒ Object
Returns the value of attribute total_libs.
-
#unaligned_libs ⇒ Object
Returns the value of attribute unaligned_libs.
-
#unity_override_patched ⇒ Object
Returns the value of attribute unity_override_patched.
-
#unity_patch_compliant ⇒ Object
Returns the value of attribute unity_patch_compliant.
-
#unity_xrsdk_patched ⇒ Object
Returns the value of attribute unity_xrsdk_patched.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
- #add_issue(issue) ⇒ Object
- #add_warning(warning) ⇒ Object
- #compliant? ⇒ Boolean
-
#initialize ⇒ ComplianceResult
constructor
A new instance of ComplianceResult.
Constructor Details
#initialize ⇒ ComplianceResult
Returns a new instance of ComplianceResult.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 17 def initialize @target_sdk_compliant = false @target_sdk_version = 0 @elf_alignment_compliant = false @unaligned_libs = [] @total_libs = 0 @compliance_issues = [] @warnings = [] @size_compliant = false @aab_size_mb = 0 @base_size_mb = 0 @base_percent = 0 @unity_patch_compliant = false @unity_xrsdk_patched = false @unity_override_patched = false end |
Instance Attribute Details
#aab_size_mb ⇒ Object
Returns the value of attribute aab_size_mb.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def aab_size_mb @aab_size_mb end |
#base_percent ⇒ Object
Returns the value of attribute base_percent.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def base_percent @base_percent end |
#base_size_mb ⇒ Object
Returns the value of attribute base_size_mb.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def base_size_mb @base_size_mb end |
#compliance_issues ⇒ Object
Returns the value of attribute compliance_issues.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def compliance_issues @compliance_issues end |
#elf_alignment_compliant ⇒ Object
Returns the value of attribute elf_alignment_compliant.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def elf_alignment_compliant @elf_alignment_compliant end |
#size_compliant ⇒ Object
Returns the value of attribute size_compliant.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def size_compliant @size_compliant end |
#target_sdk_compliant ⇒ Object
Returns the value of attribute target_sdk_compliant.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def target_sdk_compliant @target_sdk_compliant end |
#target_sdk_version ⇒ Object
Returns the value of attribute target_sdk_version.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def target_sdk_version @target_sdk_version end |
#total_libs ⇒ Object
Returns the value of attribute total_libs.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def total_libs @total_libs end |
#unaligned_libs ⇒ Object
Returns the value of attribute unaligned_libs.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def unaligned_libs @unaligned_libs end |
#unity_override_patched ⇒ Object
Returns the value of attribute unity_override_patched.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def unity_override_patched @unity_override_patched end |
#unity_patch_compliant ⇒ Object
Returns the value of attribute unity_patch_compliant.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def unity_patch_compliant @unity_patch_compliant end |
#unity_xrsdk_patched ⇒ Object
Returns the value of attribute unity_xrsdk_patched.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def unity_xrsdk_patched @unity_xrsdk_patched end |
#warnings ⇒ Object
Returns the value of attribute warnings.
12 13 14 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 12 def warnings @warnings end |
Instance Method Details
#add_issue(issue) ⇒ Object
38 39 40 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 38 def add_issue(issue) @compliance_issues << issue end |
#add_warning(warning) ⇒ Object
42 43 44 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 42 def add_warning(warning) @warnings << warning end |
#compliant? ⇒ Boolean
34 35 36 |
# File 'lib/pindo/module/android/gp_compliance_helper.rb', line 34 def compliant? @target_sdk_compliant && @elf_alignment_compliant && @size_compliant && @unity_patch_compliant end |