public class Configuration extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
overwriteTarget
Override any data in the target directory from what is found in the source,
|
Constructor and Description |
---|
Configuration() |
Configuration(Long directoryID,
String application,
boolean importPasswords,
boolean overwriteTarget) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getApplication() |
Long |
getDirectoryID() |
boolean |
getImportNestedGroups() |
int |
hashCode() |
boolean |
isImportPasswords() |
boolean |
isOverwriteTarget() |
void |
isValid()
Will make sure that all required properties have been set on the Configuration
object to perform an import.
|
void |
setApplication(String application) |
void |
setDirectoryID(Long directoryID) |
void |
setImportNestedGroups(boolean importNestedGroups) |
void |
setImportPasswords(boolean importPasswords) |
void |
setOverwriteTarget(boolean overwriteTarget) |
String |
toString() |
protected boolean overwriteTarget
public Configuration()
public Configuration(Long directoryID, String application, boolean importPasswords, boolean overwriteTarget)
directoryID
- the target directory to import users/groups/memberships tooapplication
- the name of the application, eg. 'csv', 'directory', 'jira' etc.importPasswords
- whether or not passwords should be importedoverwriteTarget
- overwrite any current objects in the target directorypublic String getApplication()
public void setApplication(String application)
public Long getDirectoryID()
public void setDirectoryID(Long directoryID)
public boolean isOverwriteTarget()
public boolean isImportPasswords()
public void setImportPasswords(boolean importPasswords)
public boolean getImportNestedGroups()
public void setImportNestedGroups(boolean importNestedGroups)
public void isValid() throws ImporterConfigurationException
ImporterConfigurationException
- if there is a problem validating the configurationpublic void setOverwriteTarget(boolean overwriteTarget)
Copyright © 2020 Atlassian. All rights reserved.