Package net.solarnetwork.node.backup
Class SimpleBackupResourceInfo
java.lang.Object
net.solarnetwork.node.backup.SimpleBackupResourceInfo
- All Implemented Interfaces:
BackupResourceInfo
Basic implementation of
BackupResourceInfo.- Since:
- 1.46
- Version:
- 1.0
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleBackupResourceInfo(String providerKey, String name, String description) Construct with values. -
Method Summary
Modifier and TypeMethodDescriptionGet a display-friendly description of the resource.getName()Get a display-friendly name of the resource.Get the key of theBackupResourceProviderthat provided this resource.
-
Constructor Details
-
SimpleBackupResourceInfo
Construct with values.- Parameters:
providerKey- The provider key.name- The name.description- The description.
-
-
Method Details
-
getProviderKey
Description copied from interface:BackupResourceInfoGet the key of theBackupResourceProviderthat provided this resource.- Specified by:
getProviderKeyin interfaceBackupResourceInfo- Returns:
- The provider key.
-
getName
Description copied from interface:BackupResourceInfoGet a display-friendly name of the resource.- Specified by:
getNamein interfaceBackupResourceInfo- Returns:
- The name.
-
getDescription
Description copied from interface:BackupResourceInfoGet a display-friendly description of the resource.- Specified by:
getDescriptionin interfaceBackupResourceInfo- Returns:
- A display-friendly description.
-