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)
BatchInfo(String, Calendar).
startedAt defaults to the current time.name - The name of the batch.public String getName()
null if anonymous.public String getId()
public void setId(String id)
id - The batch's IDpublic Calendar getStartedAt()
Copyright © 2016. All rights reserved.