Class UpdateParent
java.lang.Object
org.codice.alliance.video.stream.mpegts.plugins.UpdateParent
- All Implemented Interfaces:
FindChildrenStreamEndPlugin.Handler
Update the parent metacard by calling an
UpdateParent.UpdateField and then by calling the catalog
framework.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplementations should be derived from this class to enforce the correct call order of the methods. -
Constructor Summary
ConstructorsConstructorDescriptionUpdateParent(org.codice.alliance.video.stream.mpegts.plugins.UpdateParent.UpdateField updateField) -
Method Summary
Modifier and TypeMethodDescriptionvoidThis is called after all the batches have been passed toFindChildrenStreamEndPlugin.Handler.handle(Context, Metacard, List).voidHandle each batch of child metacards.voidsetCatalogUpdateRetry(CatalogUpdateRetry catalogUpdateRetry)
-
Constructor Details
-
UpdateParent
public UpdateParent(org.codice.alliance.video.stream.mpegts.plugins.UpdateParent.UpdateField updateField)
-
-
Method Details
-
setCatalogUpdateRetry
-
handle
public void handle(Context context, ddf.catalog.data.Metacard parent, List<ddf.catalog.data.Metacard> children) Description copied from interface:FindChildrenStreamEndPlugin.HandlerHandle each batch of child metacards.- Specified by:
handlein interfaceFindChildrenStreamEndPlugin.Handler- Parameters:
context- not-nullparent- the parent metacard, not-nullchildren- a batch of children, not-null, can be empty
-
end
Description copied from interface:FindChildrenStreamEndPlugin.HandlerThis is called after all the batches have been passed toFindChildrenStreamEndPlugin.Handler.handle(Context, Metacard, List).- Specified by:
endin interfaceFindChildrenStreamEndPlugin.Handler
-