Module com.pi4j

Class PlatformBase<PLATFORM extends Platform>

All Implemented Interfaces:
Describable, Identity, Lifecycle<Platform>, Extension<Platform>, com.pi4j.internal.IOCreator, com.pi4j.internal.ProviderAliases, com.pi4j.internal.ProviderProvider, Platform

public abstract class PlatformBase<PLATFORM extends Platform> extends ExtensionBase<Platform> implements Platform

Abstract PlatformBase class.

Version:
$Id: $Id
Author:
Robert Savage (http://www.savagehomeautomation.com)
  • Field Details

    • context

      protected Context context
    • providers

      protected Map<IOType,Provider> providers
    • logger

      protected org.slf4j.Logger logger
  • Constructor Details

    • PlatformBase

      public PlatformBase()

      Constructor for PlatformBase.

    • PlatformBase

      public PlatformBase(String id)

      Constructor for PlatformBase.

      Parameters:
      id - a String object.
    • PlatformBase

      public PlatformBase(String id, String name)

      Constructor for PlatformBase.

      Parameters:
      id - a String object.
      name - a String object.
    • PlatformBase

      public PlatformBase(String id, String name, String description)

      Constructor for PlatformBase.

      Parameters:
      id - a String object.
      name - a String object.
      description - a String object.
  • Method Details