Package sonia.scm.repository
Class ImportResult.Builder
java.lang.Object
sonia.scm.repository.ImportResult.Builder
- Enclosing class:
- ImportResult
Builder for
ImportResult
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFailedDirectory
(String name) Adds a failed directory to the import result.addImportedDirectory
(String name) Adds a successfully imported directory to the import result.build()
Builds the final import result.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addFailedDirectory
Adds a failed directory to the import result.- Parameters:
name
- name of the directory- Returns:
this
-
addImportedDirectory
Adds a successfully imported directory to the import result.- Parameters:
name
- name of the directory- Returns:
this
-
build
Builds the final import result.- Returns:
- final import result
-