Class PassingHolder<T>

java.lang.Object
com.evolveum.midpoint.util.Holder<T>
com.evolveum.midpoint.util.PassingHolder<T>
Type Parameters:
T - type of object held
All Implemented Interfaces:
Consumer<T>

public class PassingHolder<T> extends Holder<T>
Accepts (maybe repeatedly) a value and - on request - passes it to specified Consumer.
  • Constructor Details

    • PassingHolder

      public PassingHolder(@Nullable @Nullable Consumer<T> ultimateConsumer)
  • Method Details

    • passValue

      public void passValue()
      Passes a value to the consumer (repeatedly if needed).