Interface GradleRunningTask
- All Superinterfaces:
Comparable<org.gradle.api.Task>, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Named, org.gradle.api.Task
- All Known Subinterfaces:
TaskStep
- All Known Implementing Classes:
DefaultRunningTask, DownloadModStep, DownloadServerAssetStep, InternalRunningTask.InternalDefaultRunningTask, InternalRunningTask.InternalExecRunningTask, JavaExecRunningTask, LaunchServerStep, PrepareDownloaderStep, PrepareReinstallStep, TaskStepDefault, TaskStepExec
public interface GradleRunningTask
extends org.gradle.api.Task
Root interface for all Hytale boot-related tasks.
Anchors the boot lifecycle by defining how tasks execute logic. This interface supports a two-tier architecture:
- Internal Tasks: Atomic workers performing specific steps like downloading or unpacking.
- Global Tasks: Orchestrators that link multiple Internal tasks into a sequential execution queue.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
org.gradle.api.Named.Namer -
Field Summary
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Method Summary
Modifier and TypeMethodDescription@NonNull HytalePluginExtensionProvides access to the Hytale configuration settings.voidrun()Executes the specific business logic for this task.Methods inherited from interface Comparable
compareToMethods inherited from interface org.gradle.api.plugins.ExtensionAware
getExtensionsMethods inherited from interface org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Method Details
-
run
void run()Executes the specific business logic for this task. -
getHytalePluginExtension
@NonNull HytalePluginExtension getHytalePluginExtension()Provides access to the Hytale configuration settings.- Returns:
- the active configuration extension
-