Class TestBatch


  • public class TestBatch
    extends java.lang.Object
    • Field Detail

      • name

        private final java.lang.String name
      • testFunctions

        private final java.util.Collection<TestFunctionInfo> testFunctions
      • beforeBatchFunction

        @Nullable
        private final java.util.function.Consumer<ServerWorld> beforeBatchFunction
    • Constructor Detail

      • TestBatch

        public TestBatch​(java.lang.String p_i226065_1_,
                         java.util.Collection<TestFunctionInfo> p_i226065_2_,
                         @Nullable
                         java.util.function.Consumer<ServerWorld> p_i226065_3_)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getTestFunctions

        public java.util.Collection<TestFunctionInfo> getTestFunctions()
      • runBeforeBatchFunction

        public void runBeforeBatchFunction​(ServerWorld p_229464_1_)