Class CreateMetacardRolloverAction

java.lang.Object
org.codice.alliance.video.stream.mpegts.rollover.CreateMetacardRolloverAction
All Implemented Interfaces:
RolloverAction

public class CreateMetacardRolloverAction extends Object
  • Constructor Details

    • CreateMetacardRolloverAction

      public CreateMetacardRolloverAction(List<ddf.catalog.data.MetacardType> metacardTypeList)
  • Method Details

    • doAction

      public ddf.catalog.data.impl.MetacardImpl doAction(ddf.catalog.data.impl.MetacardImpl metacard, File tempFile) throws RolloverActionException
      Description copied from interface: RolloverAction
      Populate a metacard (if non-null) and return a new metacard (may be the same metacard).
      Parameters:
      metacard - the metacard being populated
      tempFile - the temp file that contain content
      Returns:
      a new metacard or the same metacard
      Throws:
      RolloverActionException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • doAction

      public final ddf.catalog.data.impl.MetacardImpl doAction(File tempFile) throws RolloverActionException
      Description copied from interface: RolloverAction
      Return a new metacard.
      Specified by:
      doAction in interface RolloverAction
      Parameters:
      tempFile - the temp file that contain content
      Returns:
      a new metacard or the same metacard
      Throws:
      RolloverActionException