org.android.activityminer.logic.util
Interface ActivatableComponent

Package class diagram package ActivatableComponent
All Known Subinterfaces:
ObservableSensorScanner<T,U>, SensorScanner, TimerTask
All Known Implementing Classes:
AbstractAccelerometerDataSource, AbstractActivatableComponentImpl, AbstractCutoutFeatureExtractor, AbstractFeatureExtractor, AbstractFeatureExtractorForDBRecordings, AbstractObservableSensorScanner, AccelerometerDataCache, FeatureExtractorForAccDBRecordings, FeatureExtractorForAccSensorObservation, FeatureExtractorForDBRecordings, FeatureExtractorForSensorObservation, GenericObservableCutoutCreator, GlobalSharedPreferenceObserver, LinearAccelerometerDataSource, LinearDeviceAccelerometerDataSource, LocationDataCache, LocationDataSource, ObservableAccCutoutCreator, ObservableAccSensorScanner, ObservableCutoutCreator, ObservableSensorScannerImpl, RecognizerHelper, SensorObservationCache, SensorObservationTask

public interface ActivatableComponent

Interface for component which have to be activated/deactivated explicitly.


Method Summary
 boolean isActive()
          Test method for the actiation state.
 void setActivationState(boolean active)
          Method to set the activation state of the component
 

Method Detail

setActivationState

void setActivationState(boolean active)
Method to set the activation state of the component

Parameters:
active - the activation sate flag

isActive

boolean isActive()
Test method for the actiation state.

Returns:
true if active, false otherwise