Class Overview
EnterpriseBatterySaverProfiles
implements the BlobProperty that allows to manage
the profiles for the Enterprise Battery Saver.
The class is managed by the ConfigurationManager Blob Property
POWER_ENTERPRISE_BATTERY_SAVER_PROFILES
.
Summary
Nested Classes |
class |
EnterpriseBatterySaverProfiles.Builder |
Builder for the EnterpriseBatterySaverProfiles. |
class |
EnterpriseBatterySaverProfiles.Profile |
The profile class. |
[Expand]
Inherited Methods |
From class
com.datalogic.device.configuration.SerializableBlob
SerializableBlob
|
clone()
Method to crete a clone of the instance of the base type of the BlobProperty
it is used by the get() method of BlobProperty to give not the reference to the same instance present in ConfigurationManager tree
otherwise the commit() does not work
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
EnterpriseBatterySaverProfiles
()
Public Methods
Add a profile to the list. If a profile with the same name already exists, it will be
replaced.
Parameters
profile
| The profile to add. |
Throws
IllegalArgumentException
| if the profile is null.
|
Get the list of currently configured profiles.
Remove a profile from the list, whose name is the same as the one passed as parameter.
Parameters
profile
| The profile to remove. |
Throws
IllegalArgumentException
| if the profile is null.
|