Class CommandTypeFinder

  • All Implemented Interfaces:
    org.apache.commons.collections4.Predicate<CommandMetadata>

    public class CommandTypeFinder
    extends java.lang.Object
    implements org.apache.commons.collections4.Predicate<CommandMetadata>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class<?> cls  
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandTypeFinder​(java.lang.Class<?> cls)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean evaluate​(CommandMetadata command)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cls

        private final java.lang.Class<?> cls
    • Constructor Detail

      • CommandTypeFinder

        public CommandTypeFinder​(java.lang.Class<?> cls)
    • Method Detail

      • evaluate

        public boolean evaluate​(CommandMetadata command)
        Specified by:
        evaluate in interface org.apache.commons.collections4.Predicate<CommandMetadata>