Interface ProfileFactory

  • @NonNullByDefault
    public interface ProfileFactory
    Implementors are capable of creating Profile instances.
    Simon Kaufmann - Initial contribution
    • Method Detail

      • createProfile

        @Nullable Profile createProfile​(ProfileTypeUID profileTypeUID,
                                        ProfileCallback callback,
                                        ProfileContext profileContext)
        Creates a Profile instance for the given profile type identifier.
        profileTypeUID - the profile type identifier
        callback - the ProfileCallback instance to be used by the Profile instance
        profileContext - giving access to the profile's context like configuration, scheduler, etc.
        the profile instance or null if this factory cannot handle the given link
      • getSupportedProfileTypeUIDs

        Collection<ProfileTypeUID> getSupportedProfileTypeUIDs()
        Return the identifiers of all supported profile types.
        a collection of all profile type identifier which this class is capable of creating