ErrorIdentifier

public interface ErrorIdentifier

com.android.tradefed.result.error.ErrorIdentifier


This interface describes a specific error and its properties.

Do not create implementation of this class outside of Trade Federation.

Summary

Public methods

abstract long code()

The unique code identifying the error.

abstract String name()

The name identifying the error.

abstract TestRecordProto.FailureStatus status()

The failure status associated with the identifier, this status is expected to align with the FailureDescription one.

Public methods

code

public abstract long code ()

The unique code identifying the error.

Returns
long

name

public abstract String name ()

The name identifying the error.

Returns
String

status

public abstract TestRecordProto.FailureStatus status ()

The failure status associated with the identifier, this status is expected to align with the FailureDescription one.

Returns
TestRecordProto.FailureStatus