Class TestUtils.ComputeGracePeriod

  • All Implemented Interfaces:
    Serializable, org.qdl_lang.extensions.QDLFunction
    Enclosing class:
    TestUtils

    public class TestUtils.ComputeGracePeriod
    extends Object
    implements org.qdl_lang.extensions.QDLFunction
    See Also:
    Serialized Form
    • Constructor Detail

      • ComputeGracePeriod

        public ComputeGracePeriod()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface org.qdl_lang.extensions.QDLFunction
      • getArgCount

        public int[] getArgCount()
        Specified by:
        getArgCount in interface org.qdl_lang.extensions.QDLFunction
      • evaluate

        public org.qdl_lang.variables.values.QDLValue evaluate​(org.qdl_lang.variables.values.QDLValue[] objects,
                                                               org.qdl_lang.state.State state)
                                                        throws Throwable
        Recreates the logic from the server, but cannot access it since that requires access to the current server state in OA2SE. Therefore, get this from the client management endpoint as the server defaults and use those.
        Specified by:
        evaluate in interface org.qdl_lang.extensions.QDLFunction
        Parameters:
        objects -
        state -
        Returns:
        Throws:
        Throwable
      • getDocumentation

        public List<String> getDocumentation​(int argCount)
        Specified by:
        getDocumentation in interface org.qdl_lang.extensions.QDLFunction