public final class IntentMiniSummary
extends java.lang.Object
Constructor and Description |
---|
IntentMiniSummary() |
Modifier and Type | Method and Description |
---|---|
int |
getCompiling()
Returns Compiling intent count.
|
int |
getFailed()
Returns Failed intent count.
|
int |
getInstalled()
Returns Installed intent count.
|
int |
getInstalling()
Returns Installing intent count.
|
int |
getInstallReq()
Returns InstallReq intent count.
|
java.lang.String |
getIntentType()
Returns intent Type.
|
int |
getRecompiling()
Returns Recompiling intent count.
|
int |
getTotal()
Returns total intent count.
|
int |
getUnknownState()
Returns unknownState intent count.
|
int |
getWithdrawing()
Returns Withdrawing intent count.
|
int |
getWithdrawn()
Returns Withdrawn intent count.
|
int |
getWithdrawReq()
Returns WithdrawReq intent count.
|
java.util.Map<java.lang.String,IntentMiniSummary> |
summarize(java.lang.Iterable<Intent> intents,
IntentService intentService)
Build summary of intents per intent type.
|
void |
update(IntentState intentState)
Updates the Intent Summary.
|
public java.lang.String getIntentType()
public int getTotal()
public int getInstallReq()
public int getCompiling()
public int getInstalling()
public int getInstalled()
public int getRecompiling()
public int getWithdrawReq()
public int getWithdrawing()
public int getWithdrawn()
public int getFailed()
public int getUnknownState()
public void update(IntentState intentState)
intentState
- the state of the intentpublic java.util.Map<java.lang.String,IntentMiniSummary> summarize(java.lang.Iterable<Intent> intents, IntentService intentService)
intents
- to summarizeintentService
- to get IntentState