Interface Verifiable


public interface Verifiable
Interface implemented by components that can verify their internal state.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    verify the state of the component and raise an exception if any state fails to verify.
    static void
    verify(Object object)
    Verify they supplied object if it is verifiable.
  • Method Details

    • verify

      void verify() throws Exception
      verify the state of the component and raise an exception if any state fails to verify.
      Throws:
      Exception - if entity invalid.
    • verify

      static void verify(@Nonnull Object object) throws Exception
      Verify they supplied object if it is verifiable.
      Parameters:
      object - the object to verify.
      Throws:
      Exception - if entity invalid.