SkipReason
public
class
SkipReason
extends Object
java.lang.Object | |
↳ | com.android.tradefed.result.skipped.SkipReason |
Provide a reason and its metadata for skipping a test.
Summary
Public constructors | |
---|---|
SkipReason(String message, SkipReason.DemotionTrigger trigger)
|
|
SkipReason(String message, SkipReason.DemotionTrigger trigger, String bugId)
|
|
SkipReason(String message, String trigger)
|
|
SkipReason(String message, String trigger, String bugId)
|
Public methods | |
---|---|
static
SkipReason
|
fromString(String skipReasonMessage)
Parses |
String
|
getBugId()
Returns the bug id associated with skip status. |
String
|
getReason()
Returns the reason associated with the skip status. |
String
|
getTrigger()
Returns the trigger associated with the skip status. |
String
|
toString()
|
Public constructors
SkipReason
public SkipReason (String message, SkipReason.DemotionTrigger trigger)
Parameters | |
---|---|
message |
String |
trigger |
SkipReason.DemotionTrigger |
SkipReason
public SkipReason (String message, SkipReason.DemotionTrigger trigger, String bugId)
Parameters | |
---|---|
message |
String |
trigger |
SkipReason.DemotionTrigger |
bugId |
String |
SkipReason
public SkipReason (String message, String trigger)
Parameters | |
---|---|
message |
String |
trigger |
String |
SkipReason
public SkipReason (String message, String trigger, String bugId)
Parameters | |
---|---|
message |
String |
trigger |
String |
bugId |
String |
Public methods
fromString
public static SkipReason fromString (String skipReasonMessage)
Parses toString()
into a SkipReason
.
Parameters | |
---|---|
skipReasonMessage |
String |
Returns | |
---|---|
SkipReason |
getBugId
public String getBugId ()
Returns the bug id associated with skip status. Optional.
Returns | |
---|---|
String |
getReason
public String getReason ()
Returns the reason associated with the skip status.
Returns | |
---|---|
String |
getTrigger
public String getTrigger ()
Returns the trigger associated with the skip status.
Returns | |
---|---|
String |
toString
public String toString ()
Returns | |
---|---|
String |