Class VoidWork

java.lang.Object
com.googlecode.objectify.VoidWork
All Implemented Interfaces:
Work<Void>

@Deprecated public abstract class VoidWork extends Object implements Work<Void>
Deprecated.
There are overloads for etc that take a instead.
Using Work is annoying because you must return a value from the run() method. Using VoidWork eliminates that annoyance. Unfortunately we can't override the return value of a method so we must rename run() to vrun().
Author:
Jeff Schnitzer invalid input: '<'[email protected]>
  • Constructor Details

    • VoidWork

      public VoidWork()
      Deprecated.
  • Method Details

    • run

      public final Void run()
      Deprecated.
      Specified by:
      run in interface Work<Void>
    • vrun

      public abstract void vrun()
      Deprecated.