Interface IFeatureCreateCallback


public interface IFeatureCreateCallback
A callback interface that can signal that a feature was changed in the context of creation.

This class is used by IFeatureCreator implementations.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFeatureChanged(Feature newFeature, ChangeStatus changeStatus)
    Can be implemented to handle the given feature.
    void
    Can be implemented to handle the case when feature creation has failed.
  • Method Details

    • onFeatureChanged

      void onFeatureChanged(@NotNull Feature newFeature, @NotNull ChangeStatus changeStatus)
      Can be implemented to handle the given feature.
      Parameters:
      newFeature - the new feature
      changeStatus - the status of this change
    • onFeatureCreateFailed

      void onFeatureCreateFailed(@NotNull ErrorInfo errorInfo)
      Can be implemented to handle the case when feature creation has failed.
      Parameters:
      errorInfo - an info object that describes why creation failed