Package org.onosproject.net.intent.util
Class IntentMiniSummary
- java.lang.Object
- 
- org.onosproject.net.intent.util.IntentMiniSummary
 
- 
 public final class IntentMiniSummary extends java.lang.ObjectLists the summary of intents and their states.
- 
- 
Constructor SummaryConstructors Constructor Description IntentMiniSummary()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCompiling()Returns Compiling intent count.intgetFailed()Returns Failed intent count.intgetInstalled()Returns Installed intent count.intgetInstalling()Returns Installing intent count.intgetInstallReq()Returns InstallReq intent count.java.lang.StringgetIntentType()Returns intent Type.intgetRecompiling()Returns Recompiling intent count.intgetTotal()Returns total intent count.intgetUnknownState()Returns unknownState intent count.intgetWithdrawing()Returns Withdrawing intent count.intgetWithdrawn()Returns Withdrawn intent count.intgetWithdrawReq()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.voidupdate(IntentState intentState)Updates the Intent Summary.
 
- 
- 
- 
Method Detail- 
getIntentTypepublic java.lang.String getIntentType() Returns intent Type.- Returns:
- intentType
 
 - 
getTotalpublic int getTotal() Returns total intent count.- Returns:
- total
 
 - 
getInstallReqpublic int getInstallReq() Returns InstallReq intent count.- Returns:
- InstallReq
 
 - 
getCompilingpublic int getCompiling() Returns Compiling intent count.- Returns:
- Compiling
 
 - 
getInstallingpublic int getInstalling() Returns Installing intent count.- Returns:
- Installing
 
 - 
getInstalledpublic int getInstalled() Returns Installed intent count.- Returns:
- Installed
 
 - 
getRecompilingpublic int getRecompiling() Returns Recompiling intent count.- Returns:
- Recompiling
 
 - 
getWithdrawReqpublic int getWithdrawReq() Returns WithdrawReq intent count.- Returns:
- WithdrawReq
 
 - 
getWithdrawingpublic int getWithdrawing() Returns Withdrawing intent count.- Returns:
- Withdrawing
 
 - 
getWithdrawnpublic int getWithdrawn() Returns Withdrawn intent count.- Returns:
- Withdrawn
 
 - 
getFailedpublic int getFailed() Returns Failed intent count.- Returns:
- Failed
 
 - 
getUnknownStatepublic int getUnknownState() Returns unknownState intent count.- Returns:
- unknownState
 
 - 
updatepublic void update(IntentState intentState) Updates the Intent Summary.- Parameters:
- intentState- the state of the intent
 
 - 
summarizepublic java.util.Map<java.lang.String,IntentMiniSummary> summarize(java.lang.Iterable<Intent> intents, IntentService intentService) Build summary of intents per intent type.- Parameters:
- intents- to summarize
- intentService- to get IntentState
- Returns:
- summaries per Intent type
 
 
- 
 
-