Class OmlMergeTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
io.opencaesar.oml.merge.OmlMergeTask
All Implemented Interfaces:
Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>

public abstract class OmlMergeTask extends org.gradle.api.DefaultTask
A gradle task to invoke the OmlMerge tool
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gradle.api.Task

    org.gradle.api.Task.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
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new OmlMergeTask object
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.provider.Property<Boolean>
    Whether to show debug logging statements.
    abstract org.gradle.api.provider.Property<Boolean>
    Whether to generate a catalog file in the output folder path.
    abstract org.gradle.api.provider.ListProperty<File>
    The paths to input OML catalog files.
    protected org.gradle.api.file.ConfigurableFileCollection
    The input OML files
    abstract org.gradle.api.provider.ListProperty<File>
    The paths to input OML folders.
    abstract org.gradle.api.provider.ListProperty<File>
    The paths to input OML zip archives.
    abstract org.gradle.api.file.DirectoryProperty
    The path to output OML folder where a basic OML catalog will be created.
    void
    run()
    The gradle task action logic.

    Methods inherited from class org.gradle.api.DefaultTask

    compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService

    Methods inherited from class org.gradle.api.internal.AbstractTask

    appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gradle.api.Task

    doNotTrackState, getConvention, notCompatibleWithConfigurationCache
  • Constructor Details

    • OmlMergeTask

      public OmlMergeTask()
      Creates a new OmlMergeTask object
  • Method Details

    • getInputZipPaths

      @Input @Optional public abstract org.gradle.api.provider.ListProperty<File> getInputZipPaths()
      The paths to input OML zip archives.
      Returns:
      File List Property
    • getInputFolderPaths

      @Input @Optional public abstract org.gradle.api.provider.ListProperty<File> getInputFolderPaths()
      The paths to input OML folders.
      Returns:
      File List Property
    • getInputCatalogPaths

      @Input @Optional public abstract org.gradle.api.provider.ListProperty<File> getInputCatalogPaths()
      The paths to input OML catalog files.
      Returns:
      File List Property
    • getOutputCatalogFolder

      @OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getOutputCatalogFolder()
      The path to output OML folder where a basic OML catalog will be created.
      Returns:
      Directory Property
    • getGenerateOutputCatalog

      @Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getGenerateOutputCatalog()
      Whether to generate a catalog file in the output folder path.
      Returns:
      Boolean Property
    • getDebug

      @Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getDebug()
      Whether to show debug logging statements.
      Returns:
      Boolean Property
    • getInputFiles

      @Incremental @InputFiles protected org.gradle.api.file.ConfigurableFileCollection getInputFiles()
      The input OML files
      Returns:
      ConfigurableFileCollection
    • run

      public void run()
      The gradle task action logic.