ListInstrumentationParser
public
class
ListInstrumentationParser
extends MultiLineReceiver
| java.lang.Object | ||
| ↳ | com.android.ddmlib.MultiLineReceiver | |
| ↳ | com.android.tradefed.util.ListInstrumentationParser | |
एक IShellOutputReceiver, जो 'pm list instrumentation' क्वेरी के आउटपुट को पार्स करता है
खास जानकारी
नेस्टेड क्लास | |
|---|---|
class |
ListInstrumentationParser.InstrumentationTarget
|
फ़ील्ड | |
|---|---|
public
static
final
Set<String> |
SHARDABLE_RUNNERS
|
सार्वजनिक कंस्ट्रक्टर | |
|---|---|
ListInstrumentationParser()
|
|
पब्लिक मेथड | |
|---|---|
List<ListInstrumentationParser.InstrumentationTarget>
|
getInstrumentationTargets()
|
boolean
|
isCancelled()
|
void
|
processNewLines(String[] lines)
जब रिमोट प्रोसेस को नई लाइनें मिलती हैं, तब इसे कॉल किया जाता है. |
फ़ील्ड
SHARDABLE_RUNNERS
public static final Set<String> SHARDABLE_RUNNERS
सार्वजनिक कंस्ट्रक्टर
ListInstrumentationParser
public ListInstrumentationParser ()
पब्लिक मेथड
getInstrumentationTargets
public List<ListInstrumentationParser.InstrumentationTarget> getInstrumentationTargets ()
| रिटर्न | |
|---|---|
List<ListInstrumentationParser.InstrumentationTarget> |
|
isCancelled
public boolean isCancelled ()
| रिटर्न | |
|---|---|
boolean |
|
processNewLines
public void processNewLines (String[] lines)
इस फ़ंक्शन को तब कॉल किया जाता है, जब रिमोट प्रोसेस को नई लाइनें मिलती हैं.
इस तरीके को लाइनें देते समय, यह पक्का किया जाता है कि वे पूरी हों.
| पैरामीटर | |
|---|---|
lines |
String: नई लाइनें शामिल करने वाला कलेक्शन. |