Object JobResult.Companion
-
- All Implemented Interfaces:
public class JobResult.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static JobResult.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final static JobResultfailure(String files)Constructs a new JobResult for a job failure and marks the given list of files as persistable. final static JobResultfailure(Iterable<String> files)Constructs a new JobResult for a job failure and marks the given list of files as persistable. final static JobResultsuccess(String files)Constructs a new JobResult for a job success and marks the given list of files as persistable. final static JobResultsuccess(Iterable<String> files)Constructs a new JobResult for a job success and marks the given list of files as persistable. -
-
Method Detail
-
failure
final static JobResult failure(String files)
- Parameters:
files- List of files that can be persisted to the S3 store.- Returns:
A new, failed JobResult.
-
failure
final static JobResult failure(Iterable<String> files)
- Parameters:
files- List of files that can be persisted to the S3 store.- Returns:
A new, failed JobResult.
-
success
final static JobResult success(String files)
- Parameters:
files- List of files that can be persisted to the S3 store.- Returns:
A new, successful JobResult.
-
-
-
-