Package org.opends.server.tasks
Class ImportExportParams
java.lang.Object
org.opends.server.tasks.ImportExportParams
Parameters for import / export tasks.
-
Constructor Summary
ConstructorDescriptionImportExportParams
(Collection<String> includeBranchStrings, Collection<String> excludeBranchStrings, Collection<String> includeAttributeStrings, Collection<String> excludeAttributeStrings, Collection<String> includeFilterStrings, Collection<String> excludeFilterStrings, Schema schema) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the exclude attribute types.Returns the exclude branches.Returns the exclude filters.Returns the include attribute types.Returns the include branches.Returns the include filters.void
validate
(LocalizableMessageDescriptor.Arg2<Object, Object> includeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object, Object> excludeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object, Object> includeFilterErrMsg, LocalizableMessageDescriptor.Arg2<Object, Object> excludeFilterErrMsg) Validates the parameters provided in the constructor.
-
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 branchesexcludeBranchStrings
- the raw exclude branchesincludeAttributeStrings
- the attribute names to includeexcludeAttributeStrings
- the attribute names to excludeincludeFilterStrings
- the raw include filtersexcludeFilterStrings
- the raw exclude filtersschema
- the schema
-
-
Method Details
-
validate
public void validate(LocalizableMessageDescriptor.Arg2<Object, Object> includeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object, throws LdapExceptionObject> excludeBranchErrMsg, LocalizableMessageDescriptor.Arg2<Object, Object> includeFilterErrMsg, LocalizableMessageDescriptor.Arg2<Object, Object> excludeFilterErrMsg) Validates the parameters provided in the constructor.- Parameters:
includeBranchErrMsg
- the error message to use when include branches parsing failsexcludeBranchErrMsg
- the error message to use when exclude branches parsing failsincludeFilterErrMsg
- the error message to use when include filters parsing failsexcludeFilterErrMsg
- the error message to use when exclude filters parsing fails- Throws:
LdapException
- if parsing failed
-
getIncludeBranches
Returns the include branches.- Returns:
- the include branches
-
getExcludeBranches
Returns the exclude branches.- Returns:
- the exclude branches
-
getIncludeAttributeTypes
Returns the include attribute types.- Returns:
- the include attribute types
-
getExcludeAttributeTypes
Returns the exclude attribute types.- Returns:
- the exclude attribute types
-
getIncludeFilters
Returns the include filters.- Returns:
- the include filters
-
getExcludeFilters
Returns the exclude filters.- Returns:
- the exclude filters
-