public class DeleteResult extends Object
Learn more
Modifier | Constructor and Description |
---|---|
protected |
DeleteResult(PathDeleteResult[] itemResults,
int totalCount,
int failedCount,
String[] errors)
Initializes a new instance of the
DeleteResult class. |
Modifier and Type | Method and Description |
---|---|
protected static DeleteResult |
create(PathDeleteResult[] itemResults,
int totalCount,
int failedCount,
String[] errors) |
String[] |
getErrors()
Returns descriptions of deletion errors.
|
int |
getFailedCount()
Returns the number of paths not deleted due to errors.
|
PathDeleteResult[] |
getItemResults()
Returns the results of deleting each path.
|
int |
getSuccessCount()
Returns the number of successfully deleted paths.
|
int |
getTotalCount()
Returns the total number of paths to delete.
|
protected DeleteResult(PathDeleteResult[] itemResults, int totalCount, int failedCount, String[] errors)
Initializes a new instance of the DeleteResult
class.
itemResults
- The results of deleting each path.totalCount
- The total number of paths to delete.failedCount
- The number of paths not deleted due to errors.errors
- The descriptions of deletion errors.protected static DeleteResult create(PathDeleteResult[] itemResults, int totalCount, int failedCount, String[] errors)
public final PathDeleteResult[] getItemResults()
Returns the results of deleting each path.
public final int getTotalCount()
Returns the total number of paths to delete.
public final int getSuccessCount()
Returns the number of successfully deleted paths.
public final int getFailedCount()
Returns the number of paths not deleted due to errors.
public final String[] getErrors()
Returns descriptions of deletion errors.