Class MediaCodeExistsPredicate

  • All Implemented Interfaces:
    java.util.function.Predicate<java.lang.String>

    public class MediaCodeExistsPredicate
    extends java.lang.Object
    implements java.util.function.Predicate<java.lang.String>
    Predicate to test if a given media code maps to an existing media.

    Returns TRUE if the media exists; FALSE otherwise.

    • Constructor Detail

      • MediaCodeExistsPredicate

        public MediaCodeExistsPredicate()
    • Method Detail

      • test

        public boolean test​(java.lang.String target)
        Specified by:
        test in interface java.util.function.Predicate<java.lang.String>
      • getMediaService

        protected MediaService getMediaService()
      • setMediaService

        public void setMediaService​(MediaService mediaService)