クラス ToolsBatchTask<T extends ToolsBatchTaskConfig>

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.JavaExec
org.iplass.mtp.dev.gradle.AbstractTask
org.iplass.mtp.dev.gradle.JavaBatchTask
org.iplass.mtp.dev.gradle.tools.batch.ToolsBatchTask<T>
型パラメータ:
T - task configuration type.
すべての実装されたインタフェース:
Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, org.gradle.api.Named, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.process.BaseExecSpec, org.gradle.process.JavaExecSpec, org.gradle.process.JavaForkOptions, org.gradle.process.ProcessForkOptions, org.gradle.util.Configurable<org.gradle.api.Task>
直系の既知のサブクラス:
ToolsBatchMetaConfigTask

public abstract class ToolsBatchTask<T extends ToolsBatchTaskConfig> extends JavaBatchTask
Tasks to perform processing in the tools batch

The task configuration is defined in a property file with the same name as the task name.

  • ネストされたクラスの概要

    インタフェースから継承されたネストされたクラス/インタフェース org.gradle.api.Named

    org.gradle.api.Named.Namer
  • フィールドの概要

    インタフェースから継承されたフィールド org.gradle.api.Task

    TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
  • コンストラクタの概要

    コンストラクタ
    コンストラクタ
    説明
    constructor
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    protected void
    configureJavaExecSpec(org.gradle.process.JavaExecSpec spec)
    Configure Java execution settings.
    protected T
    Create ToolsBatchTaskConfig instance.
    protected T
    get a configuration instance.
    protected <V> void
    ifExists(List<V> value, Consumer<List<V>> process)
    If the value exists, the process is executed.
    protected Properties
    load property files.

    クラスから継承されたメソッド org.iplass.mtp.dev.gradle.JavaBatchTask

    afterTask, beforeTask, exec, getLanguage, getServiceConfig, getServiceConfigPath, projectAfterEvaluate

    クラスから継承されたメソッド org.iplass.mtp.dev.gradle.AbstractTask

    getChildExtension, getFileSystemOperations, getPluginExtension

    クラスから継承されたメソッド org.gradle.api.tasks.JavaExec

    args, args, bootstrapClasspath, classpath, copyTo, copyTo, debugOptions, environment, environment, executable, getAllJvmArgs, getArgs, getArgumentProviders, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDebugOptions, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getErrorOutput, getExecActionFactory, getExecutable, getExecutionResult, getJavaLauncher, getJavaToolchainService, getJavaVersion, getJvmArgs, getJvmArgumentProviders, getJvmArguments, getMainClass, getMainModule, getMaxHeapSize, getMinHeapSize, getModularity, getObjectFactory, getPropertyFactory, getProviderFactory, getStandardInput, getStandardOutput, getSystemProperties, getWorkingDir, isIgnoreExitValue, jvmArgs, jvmArgs, setAllJvmArgs, setAllJvmArgs, setArgs, setArgs, setArgsString, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setExecutable, setIgnoreExitValue, setJvmArgs, setJvmArgs, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, setWorkingDir, systemProperties, systemProperty, workingDir

    クラスから継承されたメソッド org.gradle.api.internal.ConventionTask

    conventionMapping, conventionMapping, getConventionMapping

    クラスから継承されたメソッド 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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService

    クラスから継承されたメソッド org.gradle.api.internal.AbstractTask

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

    クラスから継承されたメソッド java.lang.Object

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

    インタフェースから継承されたメソッド org.gradle.api.Task

    doNotTrackState, notCompatibleWithConfigurationCache
  • コンストラクタの詳細

    • ToolsBatchTask

      public ToolsBatchTask()
      constructor
  • メソッドの詳細

    • configureJavaExecSpec

      protected void configureJavaExecSpec(org.gradle.process.JavaExecSpec spec)
      クラスからコピーされた説明: JavaBatchTask
      Configure Java execution settings.
      定義:
      configureJavaExecSpec クラス内 JavaBatchTask
      パラメータ:
      spec - JavaExecSpec
    • ifExists

      protected <V> void ifExists(List<V> value, Consumer<List<V>> process)
      If the value exists, the process is executed.
      型パラメータ:
      V - value type.
      パラメータ:
      value - the value.
      process - execute process.
    • getTaskConfig

      @Internal protected T getTaskConfig()
      get a configuration instance.
      戻り値:
      configuration instance.
    • createToolsBatchConfig

      protected T createToolsBatchConfig(Properties props)
      Create ToolsBatchTaskConfig instance.

      The file to be read as the task properties file is the ${taskName}.properties file that exists under the package of this class. See the ToolsBatchTaskConfig class for information on configuring property files.

      パラメータ:
      props - task properties file.
      戻り値:
      task config instance.
      関連項目:
    • loadProperties

      protected Properties loadProperties(String taskName)
      load property files.

      Reads the property file of the task name that exists in the package location of this class.

      パラメータ:
      taskName - gradle task name.
      戻り値:
      properties instance.