1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
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
;
19 * This contains the parameters for work units, which are used to divide and
20 * execute the actual work.
24 public interface VMTestParameters
25 extends WorkParameters
28 * Returns the command line to be executed.
30 * @return The command line to execute.
33 ListProperty
<String
> getCommandLine();
36 * The current test count.
38 * @return The current test count.
41 Property
<Integer
> getCount();
44 * Returns the result of the test.
46 * @return The result of the test.
49 RegularFileProperty
getResultFile();
54 * @return The test to be ran.
57 Property
<String
> getTestName();
60 * The total number of tests.
62 * @return The test total.
65 Property
<Integer
> getTotal();
68 * Returns the virtual machine name.
70 * @return The virtual machine name.
73 Property
<String
> getVmName();
76 * Returns the unique ID of the task run.
78 * @return The unique ID of the task run.
81 Property
<String
> getUniqueId();