to top
Datalogic APIs
public class

ProfileRuleType

extends Object
java.lang.Object
   ↳ com.datalogic.device.configuration.ProfileRuleType
Known Direct Subclasses

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 Constructors
ProfileRuleType()
Public Methods
String toString()
Returns a string representation of the ProfileRuleType.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public ArrayList<String> classes

Added in revision 32

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

Added in revision 32

Identifier of the rule.

public String packageName

Added in revision 32

Package of the activities.

public String profile

Added in revision 32

Name of the profile.

Public Constructors

public ProfileRuleType ()

Added in revision 32

Public Methods

public String toString ()

Returns a string representation of the ProfileRuleType.