Class ConfigurationManagerFactory

    • Method Detail

      • getSupportedProperties

        public static List<VTLProperty> getSupportedProperties​(Class<?> implementationClass)
        Allows you to retrieve the properties registered by the given implementation class.
        Parameters:
        implementationClass - The implementation class to query.
        Returns:
        The list of exposed properties, empty if the class does not expose any property.
      • findSupportedProperty

        public static Optional<VTLProperty> findSupportedProperty​(Class<?> implementationClass,
                                                                  String name)
        Query for a specific property by name, if supported by given class.
        Parameters:
        implementationClass - The implementation class to query.
        name - The name of the queried property.
        Returns:
        The requested VTLProperty instance, or an empty Optional if none was found.
      • registerSupportedProperties

        public static void registerSupportedProperties​(Class<?> implementationClass,
                                                       List<VTLProperty> classProperties)
        Called by implementation classes to register exposed VTL properties.
        Parameters:
        implementationClass - The calling implementation class which is registering properties.
        classProperties - The List of properties to register.
      • instanceOfClass

        public static <T> T instanceOfClass​(String className,
                                            Class<T> instanceClass,
                                            String errorMsg)