Class ImportExportParams

java.lang.Object
org.opends.server.tasks.ImportExportParams

public final class ImportExportParams extends Object
Parameters for import / export tasks.
  • Constructor Details

    • ImportExportParams

      public ImportExportParams(Collection<String> includeBranchStrings, Collection<String> excludeBranchStrings, Collection<String> includeAttributeStrings, Collection<String> excludeAttributeStrings, Collection<String> includeFilterStrings, Collection<String> excludeFilterStrings, Schema schema)
      Constructor.
      Parameters:
      includeBranchStrings - the raw include branches
      excludeBranchStrings - the raw exclude branches
      includeAttributeStrings - the attribute names to include
      excludeAttributeStrings - the attribute names to exclude
      includeFilterStrings - the raw include filters
      excludeFilterStrings - the raw exclude filters
      schema - the schema
  • Method Details

    • validate

      public void validate(LocalizableMessageDescriptor.Arg2<Object,Object> includeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object,Object> excludeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object,Object> includeFilterErrMsg, LocalizableMessageDescriptor.Arg2<Object,Object> excludeFilterErrMsg) throws LdapException
      Validates the parameters provided in the constructor.
      Parameters:
      includeBranchErrMsg - the error message to use when include branches parsing fails
      excludeBranchErrMsg - the error message to use when exclude branches parsing fails
      includeFilterErrMsg - the error message to use when include filters parsing fails
      excludeFilterErrMsg - the error message to use when exclude filters parsing fails
      Throws:
      LdapException - if parsing failed
    • getIncludeBranches

      public Set<Dn> getIncludeBranches()
      Returns the include branches.
      Returns:
      the include branches
    • getExcludeBranches

      public Set<Dn> getExcludeBranches()
      Returns the exclude branches.
      Returns:
      the exclude branches
    • getIncludeAttributeTypes

      public Set<AttributeType> getIncludeAttributeTypes()
      Returns the include attribute types.
      Returns:
      the include attribute types
    • getExcludeAttributeTypes

      public Set<AttributeType> getExcludeAttributeTypes()
      Returns the exclude attribute types.
      Returns:
      the exclude attribute types
    • getIncludeFilters

      public Set<Filter> getIncludeFilters()
      Returns the include filters.
      Returns:
      the include filters
    • getExcludeFilters

      public Set<Filter> getExcludeFilters()
      Returns the exclude filters.
      Returns:
      the exclude filters