| java.lang.Object |
| ↳ |
com.datalogic.device.configuration.ProfileRuleType |
Known Direct Subclasses
| ProfileUrlRuleType |
ProfileUrlRuleTypedescribe the condition for which a profile is automatically loaded. |
|
Class Overview
ProfileRuleType describe the condition for which a profile is automatically loaded.
The condition defines the activity or the list of activities that, when in the foreground, cause the profile to be loaded automatically.
When one of the listed activities comes to the foreground the profile is automatically loaded.
When the activity is no more in foreground the previous configuration will be restored.
To avoid any ambiguity, two ProfileRuleTypes with overlapping loading conditions are not permitted.
Overlap occurs when two ProfileRuleType share one or more activities.
This type of profile rule is added using addProfileRule(StringBuffer, String, String, ArrayList).
Summary
| Fields |
|
public
ArrayList<String> |
classes |
List of the names of the classes inside of package for which the profile must be loaded; an empty list means all the activities of the package. |
|
public
String |
name |
Identifier of the rule. |
|
public
String |
packageName |
Package of the activities. |
|
public
String |
profile |
Name of the profile. |
| Public Methods |
|
String
|
toString()
Returns a string representation of the ProfileRuleType.
|
|
[Expand]
Inherited Methods |
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()
|
|
Fields
public
ArrayList<String>
classes
List of the names of the classes inside of package for which the profile must be loaded; an empty list means all the activities of the package.
public
String
packageName
Package of the activities.
Public Constructors
public
ProfileRuleType
()
Public Methods
public
String
toString
()
Returns a string representation of the ProfileRuleType.