Indentations break the feed.
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / multivm / VMTestParameters.java
blob3fa68646a64532ed15f69015ba05875006f89bde
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.plugin.multivm;
12 import java.io.Serializable;
13 import org.gradle.api.file.RegularFileProperty;
14 import org.gradle.api.provider.ListProperty;
15 import org.gradle.api.provider.Property;
16 import org.gradle.workers.WorkParameters;
18 /**
19 * This contains the parameters for work units, which are used to divide and
20 * execute the actual work.
22 * @since 2020/09/06
24 public interface VMTestParameters
25 extends WorkParameters
27 /**
28 * Returns the command line to be executed.
30 * @return The command line to execute.
31 * @since 2020/09/07
33 ListProperty<String> getCommandLine();
35 /**
36 * The current test count.
38 * @return The current test count.
39 * @since 2020/09/07
41 Property<Integer> getCount();
43 /**
44 * Returns the result of the test.
46 * @return The result of the test.
47 * @since 2020/09/06
49 RegularFileProperty getResultFile();
51 /**
52 * The test to be run.
54 * @return The test to be ran.
55 * @since 2020/09/06
57 Property<String> getTestName();
59 /**
60 * The total number of tests.
62 * @return The test total.
63 * @since 2020/09/07
65 Property<Integer> getTotal();
67 /**
68 * Returns the virtual machine name.
70 * @return The virtual machine name.
71 * @since 2020/09/07
73 Property<String> getVmName();
75 /**
76 * Returns the unique ID of the task run.
78 * @return The unique ID of the task run.
79 * @since 2022/07/01
81 Property<String> getUniqueId();