Class CatalogRolloverAction
java.lang.Object
org.codice.alliance.video.stream.mpegts.rollover.CatalogRolloverAction
- All Implemented Interfaces:
RolloverAction
Stores the child content, links the child to the parent, and updates the parent's location with
the union of the child's location.
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogRolloverAction(FilenameGenerator filenameGenerator, String filenameTemplate, ddf.catalog.CatalogFramework catalogFramework, ddf.catalog.filter.FilterBuilder filterBuilder, Context context, MetacardUpdater parentMetacardUpdater, org.codice.ddf.platform.util.uuidgenerator.UuidGenerator uuidGenerator, ddf.security.SubjectOperations subjectOperations) -
Method Summary
Modifier and TypeMethodDescriptionddf.catalog.data.impl.MetacardImplPopulate a metacard (if non-null) and return a new metacard (may be the same metacard).final ddf.catalog.data.impl.MetacardImplReturn a new metacard.voidsetCatalogUpdateRetry(CatalogUpdateRetry catalogUpdateRetry) toString()
-
Constructor Details
-
CatalogRolloverAction
public CatalogRolloverAction(FilenameGenerator filenameGenerator, String filenameTemplate, ddf.catalog.CatalogFramework catalogFramework, ddf.catalog.filter.FilterBuilder filterBuilder, Context context, MetacardUpdater parentMetacardUpdater, org.codice.ddf.platform.util.uuidgenerator.UuidGenerator uuidGenerator, ddf.security.SubjectOperations subjectOperations) - Parameters:
filenameGenerator- must be non-nullfilenameTemplate- must be non-nullcatalogFramework- must be non-nullcontext- must be non-nullparentMetacardUpdater- must be non-null
-
-
Method Details
-
setCatalogUpdateRetry
-
toString
-
doAction
public ddf.catalog.data.impl.MetacardImpl doAction(ddf.catalog.data.impl.MetacardImpl metacard, File tempFile) Description copied from interface:RolloverActionPopulate a metacard (if non-null) and return a new metacard (may be the same metacard).- Parameters:
metacard- the metacard being populatedtempFile- the temp file that contain content- Returns:
- a new metacard or the same metacard
-
doAction
public final ddf.catalog.data.impl.MetacardImpl doAction(File tempFile) throws RolloverActionException Description copied from interface:RolloverActionReturn a new metacard.- Specified by:
doActionin interfaceRolloverAction- Parameters:
tempFile- the temp file that contain content- Returns:
- a new metacard or the same metacard
- Throws:
RolloverActionException
-