use of org.codice.alliance.video.stream.mpegts.rollover.ListRolloverAction in project alliance by codice.
the class RolloverStreamCreationPlugin method doOnCreate.
@Override
protected void doOnCreate(Context context) throws StreamCreationException {
UdpStreamProcessor udpStreamProcessor = context.getUdpStreamProcessor();
udpStreamProcessor.setRolloverAction(new ListRolloverAction(Arrays.asList(new CreateMetacardRolloverAction(udpStreamProcessor.getMetacardTypeList()), new CatalogRolloverAction(udpStreamProcessor.getFilenameGenerator(), udpStreamProcessor.getFilenameTemplate(), udpStreamProcessor.getCatalogFramework(), context, udpStreamProcessor.getParentMetacardUpdater(), udpStreamProcessor.getUuidGenerator()))));
}
Aggregations