Class Deferrers.Deferred

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Deferrers

    @Weight(VARIABLE)
    public abstract static class Deferrers.Deferred
    extends java.lang.Object
    implements java.io.Serializable
    Class wrapping executeDeferred method and stack depth for action.
    Since:
    1.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Deferred()
      The Constructor.
    • Field Detail

      • stackDepth

        private final int stackDepth
    • Constructor Detail

    • Method Detail

      • getStackDepth

        public int getStackDepth()
        Get the stack depth detected during object creation.
        Returns:
        the stack depth
        Since:
        1.0
      • executeDeferred

        public abstract void executeDeferred()
                                      throws java.lang.Exception
        Execute call.
        Throws:
        java.lang.Exception - it will be thrown for error.
        Since:
        1.0