Class ImportExportConfiguration

    • Constructor Detail

      • ImportExportConfiguration

        public ImportExportConfiguration()
    • Method Detail

      • setProperty

        public void setProperty​(String name,
                                Object value)
        Sets the property identified by the specified name to the specified value. If a property with that name already exists, replaces its value, otherwise adds the new property with the specified name and value.
        Parameters:
        name - the name of the property to set
        value - the value of the property
      • getName

        public String getName()
        Retrieves the name of the import configuration
        Returns:
        the name of the import configuration
      • setName

        public void setName​(String name)
        Sets the name of the import configuration
        Parameters:
        name - the name of the import configuration
      • getDescription

        public String getDescription()
        Retrieves the description of the import configuration
        Returns:
        the description of the import configuration
      • setDescription

        public void setDescription​(String description)
        Sets the description of the import configuration
        Parameters:
        description - the description of the import configuration
      • getConfigType

        public String getConfigType()
        Retrieves the config type of the import configuration
        Returns:
        the config type of the import configuration
      • setConfigType

        public void setConfigType​(String configType)
        Sets the config type of the import configuration
        Parameters:
        configType - the config type of the import configuration
      • getProperty

        public Object getProperty​(String name)
        Retrieves the property identified by the specified name.
        Parameters:
        name - the name of the property to retrieve
        Returns:
        the value of the specified property or null if no such property exists
      • getProperties

        public Map<String,​Object> getProperties()
        Retrieves a Map of all property name - value pairs for this import configuration.
        Returns:
        a Map of all property name - value pairs for this import configuration
      • isActive

        public boolean isActive()
        Retrieves the import configuration active flag.
        Returns:
        true if the import configuration is active false if not
      • setActive

        public void setActive​(boolean active)
        Sets the active flag true/false.
        Parameters:
        active - a boolean to set to active or inactive the import configuration
      • getStatus

        public String getStatus()
        Retrieves the import configuration status for last execution.
        Returns:
        status of the last execution
      • setStatus

        public void setStatus​(String status)
        Sets status of the last execution.
        Parameters:
        status - of the last execution
      • getColumnSeparator

        public String getColumnSeparator()
        Retrieves the column separator.
        Returns:
        column separator
      • setColumnSeparator

        public void setColumnSeparator​(String columnSeparator)
        Sets the column separator.
        Parameters:
        columnSeparator - property used to specify a line separator. Defaults to ','
      • getLineSeparator

        public String getLineSeparator()
        Retrieves the line separator.
        Returns:
        the line separator
      • setLineSeparator

        public void setLineSeparator​(String lineSeparator)
        Sets the line separator.
        Parameters:
        lineSeparator - property used to specify a line separator. Defaults to '\n'
      • getMultiValueSeparator

        public String getMultiValueSeparator()
        Gets the multi value separator.
        Returns:
        multiValueSeparator multi value separator
      • setMultiValueSeparator

        public void setMultiValueSeparator​(String multiValueSeparator)
        Sets the multi value separator.
        Parameters:
        multiValueSeparator - multi value separator
      • getMultiValueDelimiter

        public String getMultiValueDelimiter()
        Gets the multi value delimiter.
        Returns:
        multiValueDelimiter multi value delimiter
      • setMultiValueDelimiter

        public void setMultiValueDelimiter​(String multiValueDelimiter)
        Sets the multi value delimiter.
        Parameters:
        multiValueDelimiter - multi value delimiter
      • getExecutions

        public List<Map<String,​Object>> getExecutions()
        Retrieves the executions
        Returns:
        executions
      • setExecutions

        public void setExecutions​(List<Map<String,​Object>> executions)
        Sets the executions
        Parameters:
        executions - executions