D
- the kind of data this BackupFactoryData
stores.public class BackupFactoryData<D> extends Object
Constructor and Description |
---|
BackupFactoryData(String identifier,
D data)
Creates a new
BackupFactoryData |
Modifier and Type | Method and Description |
---|---|
D |
getData()
Gets the data that is wrapped up by this
BackupFactoryData . |
String |
getIdentifier()
Gets the identifier of this data.
|
public BackupFactoryData(String identifier, D data)
BackupFactoryData
identifier
- the identifier of this piece of data, can be null
data
- the client specified data, might be null
public String getIdentifier()
null
public D getData()
BackupFactoryData
.null