public class ImportBatch
extends java.lang.Object
Constructor and Description |
---|
ImportBatch(java.util.stream.Stream<ImportInput> xs)
Creates a new batch consisting of the specified imports.
|
Modifier and Type | Method and Description |
---|---|
ImportBatchId |
batchId() |
boolean |
equals(java.lang.Object x) |
int |
hashCode() |
java.util.stream.Stream<util.object.Pair<ImportId,java.net.URI>> |
identifyTargets()
Associates each import target URI to the corresponding import ID.
|
java.util.stream.Stream<QueuedImport> |
imports() |
public ImportBatch(java.util.stream.Stream<ImportInput> xs)
xs
- data detailing what each import must do.java.lang.NullPointerException
- if the argument or any of its elements is
null
.java.lang.IllegalArgumentException
- if the argument has no elements.public ImportBatchId batchId()
public java.util.stream.Stream<QueuedImport> imports()
public java.util.stream.Stream<util.object.Pair<ImportId,java.net.URI>> identifyTargets()
public boolean equals(java.lang.Object x)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object