public interface

ConfigurationManager

masonamerica.platform.ConfigurationManager

Class Overview

An interface to query the current deployed "configuration" to the device.

Summary

Public Methods
abstract List<Application> getApplications()
Get the Application's that have been included in the deployed project.
abstract Configuration getConfiguration(String configurationPackage, String configuration)
Get the Configuration for a specified configuration header and configuration name.
abstract List<String> getConfigurationPackages()
Get the list of configuration packages that have modifications that is deployed to the device.
abstract List<Configuration> getConfigurationsForPackage(String configurationPackage)
Get the list of Configuration's that have been made for a given configuration package.
abstract String getOsName()
Get the OS name definition that is deployed to the device.
abstract int getOsVersion()
Get the OS version definition that is deployed to the device.
abstract boolean isConfigured()
Returns a boolena stating whether a project has been deployed to the device.

Public Methods

public abstract List<Application> getApplications ()

Get the Application's that have been included in the deployed project.

Returns
List<Application> ERROR(/List)

public abstract Configuration getConfiguration (String configurationPackage, String configuration)

Get the Configuration for a specified configuration header and configuration name.

Parameters
configurationPackage String: A string definition of a configuration package
configuration String: A string definition of a configuration for a configuration package
Returns
Configuration Configuration
Throws
ConfigurationNotFoundException}
ConfigurationNotFoundException

public abstract List<String> getConfigurationPackages ()

Get the list of configuration packages that have modifications that is deployed to the device.

Returns
List<String> ERROR(/List)

public abstract List<Configuration> getConfigurationsForPackage (String configurationPackage)

Get the list of Configuration's that have been made for a given configuration package.

Parameters
configurationPackage String: A string definition of a configuration package
Returns
List<Configuration> ERROR(/List)
Throws
ConfigurationNotFoundException}
ConfigurationNotFoundException

public abstract String getOsName ()

Get the OS name definition that is deployed to the device.

Returns
String String

public abstract int getOsVersion ()

Get the OS version definition that is deployed to the device.

Returns
int Integer

public abstract boolean isConfigured ()

Returns a boolena stating whether a project has been deployed to the device.

Returns
boolean