Class WriteCartridgeDescriptor

  • All Implemented Interfaces:
    kotlin.Comparable , org.gradle.api.Named , org.gradle.api.Task , org.gradle.api.internal.DynamicObjectAware , org.gradle.api.internal.TaskInternal , org.gradle.api.plugins.ExtensionAware , org.gradle.util.Configurable

    @CacheableTask() 
    public class WriteCartridgeDescriptor
    extends DefaultTask
                        

    WriteCartridgeDescriptor Gradle task 'writeCartridgeDescriptor'

    This task writes a cartridge descriptor file. This file is used by the server startup and special tests.

    • Constructor Detail

      • WriteCartridgeDescriptor

        WriteCartridgeDescriptor(ProjectLayout projectLayout, ObjectFactory objectFactory)
    • Method Detail

      • getCartridgeName

        @Input() final Property<String> getCartridgeName()

        Set property for descriptor cartridge name property.

      • getDisplayName

        @Input() final Property<String> getDisplayName()

        Set property for display name property.

      • getCartridgeDependsOn

        @Input() final Property<String> getCartridgeDependsOn()

        Pre-computed value for the cartridge.dependsOn descriptor entry (semicolon-separated sorted cartridge IDs resolved from the cartridgeRuntime configuration).

      • getCartridgeDependsOnLibs

        @Input() final Property<String> getCartridgeDependsOnLibs()

        Pre-computed value for the cartridge.dependsOnLibs descriptor entry (semicolon-separated sorted library IDs resolved from the runtimeClasspath configuration, excluding libraries already provided by cartridge dependencies).

      • getOutputFile

        @OutputFile() final RegularFileProperty getOutputFile()

        Output file for generated descriptor.

      • runFileCreation

         final Unit runFileCreation()

        Task method for the creation of a descriptor file. All resolution has already happened at configuration time via the @Input properties; this action only reads pre-computed String values.