Class SetObjectArgumentFactory

    • Field Detail

      • supportedTypes

        private final java.util.Map<java.lang.Class<?>,​java.lang.Integer> supportedTypes
    • Constructor Detail

      • SetObjectArgumentFactory

        protected SetObjectArgumentFactory​(java.util.Map<java.lang.Class<?>,​java.lang.Integer> types)
    • Method Detail

      • forClasses

        public static ArgumentFactory forClasses​(java.util.Map<java.lang.Class<?>,​java.lang.Integer> types)
        Creates a new ArgumentFactory that maps objects to Types values.
        Parameters:
        types - the Java Classes to handle with the Types they bind to.
        Returns:
        an ArgumentFactory that handles only the given Classes.