Enum VTLGeneralProperties

    • Enum Constant Detail

      • CONFIG_MANAGER

        public static final VTLGeneralProperties CONFIG_MANAGER
        This property allows to choose how to manage the VTL configuration. The default value may be changed by using the vtl.config.impl.class system property.
      • METADATA_REPOSITORY

        public static final VTLGeneralProperties METADATA_REPOSITORY
        This property allows to choose which metadata repository should be used by the Engine. The default value may be changed by setting the vtl.metadatarepository.class system property.
      • ENGINE_IMPLEMENTATION

        public static final VTLGeneralProperties ENGINE_IMPLEMENTATION
        This property allows to choose which computing engine should be used. The default value may be changed by setting the vtl.engine.implementation.class system property.
      • SESSION_IMPLEMENTATION

        public static final VTLGeneralProperties SESSION_IMPLEMENTATION
        This property allows to choose which VTL session should be used by the Engine. The default value may be changed by using the vtl.session.implementation.class system property.
      • ENVIRONMENT_IMPLEMENTATION

        public static final VTLGeneralProperties ENVIRONMENT_IMPLEMENTATION
        This property allows to choose which environments should be used by the Engine. The default value may be changed by using the vtl.environment.implementation.classes system property to a sequence of class names separated by comma.
    • Method Detail

      • values

        public static VTLGeneralProperties[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VTLGeneralProperties c : VTLGeneralProperties.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VTLGeneralProperties valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()
        Specified by:
        getName in interface VTLProperty
        Returns:
        The name of the system property that provides a starting value
      • getValue

        public String getValue()
        Specified by:
        getValue in interface VTLProperty
        Returns:
        The current value for this property
      • setValue

        public void setValue​(String newValue)
        Description copied from interface: VTLProperty
        Change the value for this property
        Specified by:
        setValue in interface VTLProperty
        Parameters:
        newValue - The new value for this property
      • isMultiple

        public boolean isMultiple()
        Specified by:
        isMultiple in interface VTLProperty
        Returns:
        true if the property allows multiple values
      • isRequired

        public boolean isRequired()
        Specified by:
        isRequired in interface VTLProperty
        Returns:
        true if the property must have a value set before using the component
      • getPlaceholder

        public String getPlaceholder()
        Specified by:
        getPlaceholder in interface VTLProperty
        Returns:
        A placeholder for the property that can be used as a hint for the property contents
      • hasValue

        public boolean hasValue()
        Specified by:
        hasValue in interface VTLProperty
        Returns:
        true if a value was set for this property or it has a default value