27 মার্চ, 2025 থেকে, আমরা AOSP তৈরি করতে এবং অবদান রাখতে aosp-main
এর পরিবর্তে android-latest-release
ব্যবহার করার পরামর্শ দিচ্ছি। আরও তথ্যের জন্য, AOSP-তে পরিবর্তনগুলি দেখুন।
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
SkipReason
public class SkipReason
extends Object
java.lang.অবজেক্ট |
↳ | com.android.tradefed.result.skipped.SkipReason |
একটি পরীক্ষা এড়িয়ে যাওয়ার জন্য একটি কারণ এবং তার মেটাডেটা প্রদান করুন৷
সারাংশ
পাবলিক কনস্ট্রাক্টর
SkipReason
public SkipReason (String message,
SkipReason.DemotionTrigger trigger)
পরামিতি |
---|
message | String |
trigger | SkipReason.DemotionTrigger |
SkipReason
public SkipReason (String message,
SkipReason.DemotionTrigger trigger,
String bugId)
পরামিতি |
---|
message | String |
trigger | SkipReason.DemotionTrigger |
bugId | String |
SkipReason
public SkipReason (String message,
String trigger)
পরামিতি |
---|
message | String |
trigger | String |
SkipReason
public SkipReason (String message,
String trigger,
String bugId)
পরামিতি |
---|
message | String |
trigger | String |
bugId | String |
পাবলিক পদ্ধতি
getBugId
public String getBugId ()
স্কিপ স্ট্যাটাসের সাথে যুক্ত বাগ আইডি ফেরত দেয়। ঐচ্ছিক।
getReason
public String getReason ()
স্কিপ স্ট্যাটাসের সাথে যুক্ত কারণ দেখায়।
getTrigger
public String getTrigger ()
স্কিপ স্ট্যাটাসের সাথে যুক্ত ট্রিগার ফেরত দেয়।
toString
public String toString ()
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# SkipReason\n==========\n\n\n`\npublic\n\n\nclass\nSkipReason\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.result.skipped.SkipReason |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nProvide a reason and its metadata for skipping a test.\n\nSummary\n-------\n\n| ### Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[SkipReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#SkipReason(java.lang.String,%20com.android.tradefed.result.skipped.SkipReason.DemotionTrigger))`(String message, `[SkipReason.DemotionTrigger](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.DemotionTrigger.html)` trigger) ` |\n| ` `[SkipReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#SkipReason(java.lang.String,%20com.android.tradefed.result.skipped.SkipReason.DemotionTrigger,%20java.lang.String))`(String message, `[SkipReason.DemotionTrigger](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.DemotionTrigger.html)` trigger, String bugId) ` |\n| ` `[SkipReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#SkipReason(java.lang.String,%20java.lang.String))`(String message, String trigger) ` |\n| ` `[SkipReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#SkipReason(java.lang.String,%20java.lang.String,%20java.lang.String))`(String message, String trigger, String bugId) ` |\n\n| ### Public methods ||\n|---------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static `[SkipReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html) | ` `[fromString](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#fromString(java.lang.String))`(String skipReasonMessage) ` Parses [toString()](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#toString()) into a [SkipReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html). |\n| ` String` | ` `[getBugId](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#getBugId())`() ` Returns the bug id associated with skip status. |\n| ` String` | ` `[getReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#getReason())`() ` Returns the reason associated with the skip status. |\n| ` String` | ` `[getTrigger](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#getTrigger())`() ` Returns the trigger associated with the skip status. |\n| ` String` | ` `[toString](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#toString())`() ` |\n\nPublic constructors\n-------------------\n\n### SkipReason\n\n```\npublic SkipReason (String message, \n SkipReason.DemotionTrigger trigger)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-------------------------------------|\n| `message` | `String` \u003cbr /\u003e |\n| `trigger` | `SkipReason.DemotionTrigger` \u003cbr /\u003e |\n\n### SkipReason\n\n```\npublic SkipReason (String message, \n SkipReason.DemotionTrigger trigger, \n String bugId)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-------------------------------------|\n| `message` | `String` \u003cbr /\u003e |\n| `trigger` | `SkipReason.DemotionTrigger` \u003cbr /\u003e |\n| `bugId` | `String` \u003cbr /\u003e |\n\n### SkipReason\n\n```\npublic SkipReason (String message, \n String trigger)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------|\n| `message` | `String` \u003cbr /\u003e |\n| `trigger` | `String` \u003cbr /\u003e |\n\n### SkipReason\n\n```\npublic SkipReason (String message, \n String trigger, \n String bugId)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------|\n| `message` | `String` \u003cbr /\u003e |\n| `trigger` | `String` \u003cbr /\u003e |\n| `bugId` | `String` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### fromString\n\n```\npublic static SkipReason fromString (String skipReasonMessage)\n```\n\nParses [toString()](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html#toString()) into a [SkipReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html).\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------------------|-----------------|\n| `skipReasonMessage` | `String` \u003cbr /\u003e |\n\n| Returns ||\n|-----------------------------------------------------------------------------------------------------------|--------|\n| [SkipReason](../../../../../../../reference/tradefed/com/android/tradefed/result/skipped/SkipReason.html) | \u003cbr /\u003e |\n\n### getBugId\n\n```\npublic String getBugId ()\n```\n\nReturns the bug id associated with skip status. Optional.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |\n\n### getReason\n\n```\npublic String getReason ()\n```\n\nReturns the reason associated with the skip status.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |\n\n### getTrigger\n\n```\npublic String getTrigger ()\n```\n\nReturns the trigger associated with the skip status.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |\n\n### toString\n\n```\npublic String toString ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |"]]