Interface TagSchemaCreationOutput


public interface TagSchemaCreationOutput
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Signals Edge that this adapter is not yet started and therefor can not create a json schema for the given tag.
    void
    fail(@NotNull String errorMessage)
    Signals that something went wrong during the creation of the json schema.
    void
    Signals that something went wrong during the creation of the json schema.
    void
    finish(@NotNull com.fasterxml.jackson.databind.JsonNode schema)
    Finishes the creation of the schema successfully.
    void
    Signals Edge that this adapter can not produce tag schemas.
    void
    tagNotFound(@NotNull String errorMessage)
    Signals that the tag was not found on the PLC and as a result no json schema can be created.
  • Method Details

    • finish

      void finish(@NotNull @NotNull com.fasterxml.jackson.databind.JsonNode schema)
      Finishes the creation of the schema successfully.
    • notSupported

      void notSupported()
      Signals Edge that this adapter can not produce tag schemas.
    • adapterNotStarted

      void adapterNotStarted()
      Signals Edge that this adapter is not yet started and therefor can not create a json schema for the given tag.
    • fail

      void fail(@NotNull @NotNull Throwable t, @Nullable @Nullable String errorMessage)
      Signals that something went wrong during the creation of the json schema.
      Parameters:
      t - Throwable indicating what went wrong.
      errorMessage - an optional error message delivering further insights.
    • fail

      void fail(@NotNull @NotNull String errorMessage)
      Signals that something went wrong during the creation of the json schema.
      Parameters:
      errorMessage - an error message delivering further insights.
    • tagNotFound

      void tagNotFound(@NotNull @NotNull String errorMessage)
      Signals that the tag was not found on the PLC and as a result no json schema can be created.
      Parameters:
      errorMessage - an error message delivering further insights.