Interface InitializeIf

All Known Implementing Classes:
IfDefault, IfNotDefault

public interface InitializeIf

If an If condition class implements this interface, it will be called once just after construction. This is a poor-man's injection system.

Author:
Jeff Schnitzer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    init​(ObjectifyFactory fact, Field field)
    Instructs the condition instance which field it lives on.
  • Method Details

    • init

      void init(ObjectifyFactory fact, Field field)
      Instructs the condition instance which field it lives on.
      Parameters:
      fact - is just handy to have around
      field - is the field which has the annotation with this condition.