public class BatchInfo extends Object
| Constructor and Description |
|---|
BatchInfo(String name) |
BatchInfo(String name,
Calendar startedAt)
Creates a new BatchInfo instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String |
getName() |
Calendar |
getStartedAt() |
void |
setId(String id)
Sets a unique identifier for the batch.
|
String |
toString() |
public BatchInfo(String name, Calendar startedAt)
name - Name of batch or null if anonymous.startedAt - Batch start timepublic BatchInfo(String name)
name - The name of the batch.. {@code startedAt}
defaults to the current time.public String getName()
null if anonymous.public String getId()
public void setId(String id)
id - The batch's IDpublic Calendar getStartedAt()
Copyright © 2015. All rights reserved.