public class PublishedExports extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
description |
Map<String,List<ExportEntry>> |
entries |
long |
updated |
String |
updatedTime |
| Constructor and Description |
|---|
PublishedExports() |
PublishedExports(String description)
build an empty published configuration
|
PublishedExports(String description,
Iterable<Map.Entry<String,List<ExportEntry>>> entries)
Build a configuration from the entries
|
| Modifier and Type | Method and Description |
|---|---|
String |
asJson()
Return the values as json string
|
long |
getUpdated() |
boolean |
isEmpty()
Is the configuration empty.
|
void |
putValues(Iterable<Map.Entry<String,List<ExportEntry>>> entries)
Set the values from an iterable (this includes a Hadoop Configuration and Java properties
object).
|
void |
setUpdated(long updated) |
PublishedExports |
shallowCopy()
This makes a copy without the nested content -so is suitable for returning as part of the list of a parent's
values
|
String |
toString() |
public String description
public long updated
public String updatedTime
public Map<String,List<ExportEntry>> entries
public PublishedExports()
public PublishedExports(String description)
description - configuration descriptionpublic boolean isEmpty()
public long getUpdated()
public void setUpdated(long updated)
public void putValues(Iterable<Map.Entry<String,List<ExportEntry>>> entries)
entries - entries to putpublic String asJson() throws IOException
IOException - mapping problemspublic PublishedExports shallowCopy()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.