パッケージ org.iplass.mtp.dev.gradle

クラス JavaBatchTask

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
すべての実装されたインタフェース:
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>
直系の既知のサブクラス:
ToolsBatchTask

public abstract class JavaBatchTask extends AbstractTask
Superclass of the JavaExec task for executing batches.
  • ネストされたクラスの概要

    インタフェースから継承されたネストされたクラス/インタフェース 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
  • コンストラクタの概要

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

    修飾子とタイプ
    メソッド
    説明
    protected void
    Implement post-task execution processing as needed.
    protected void
    Implement task execution pre-processing as needed.
    protected void
    configureJavaExecSpecOnTaskAction(org.gradle.process.JavaExecSpec spec)
    Configure Java execution settings on task action.
    void
     
    protected String
    Get display language.
    protected abstract org.gradle.api.provider.Property<String>
    Get service-config xml path.
    protected String
    Get service-config xml path.
    protected org.gradle.api.file.FileCollection
    Get task runtime classpath.
    void
    onConfigureTask(org.gradle.api.Project project)
    Called when the task is configured.

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

    getFileSystemOperations, getJavaPluginExtension, getRootPluginExtension

    クラスから継承されたメソッド 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
  • コンストラクタの詳細

    • JavaBatchTask

      public JavaBatchTask()
  • メソッドの詳細

    • getServiceConfig

      @Input @Optional protected abstract org.gradle.api.provider.Property<String> getServiceConfig()
      Get service-config xml path.

      File path or classpath resource.

      戻り値:
      service-config xml path
    • onConfigureTask

      public void onConfigureTask(org.gradle.api.Project project)
      クラスからコピーされた説明: AbstractTask
      Called when the task is configured.

      This is a method for internal configuration by the plugin.

      オーバーライド:
      onConfigureTask クラス内 AbstractTask
      パラメータ:
      project - the project to which the task belongs.
    • exec

      public void exec()
      オーバーライド:
      exec クラス内 org.gradle.api.tasks.JavaExec
    • configureJavaExecSpecOnTaskAction

      protected void configureJavaExecSpecOnTaskAction(org.gradle.process.JavaExecSpec spec)
      Configure Java execution settings on task action.
      パラメータ:
      spec - JavaExecSpec
    • beforeTask

      protected void beforeTask()
      Implement task execution pre-processing as needed.
    • afterTask

      protected void afterTask()
      Implement post-task execution processing as needed.

      It is executed even if an exception occurs during pre-processing or processing.

    • getLanguage

      @Internal protected String getLanguage()
      Get display language.

      Default value: "system"

      戻り値:
      display language
    • getServiceConfigPath

      @Internal protected String getServiceConfigPath()
      Get service-config xml path.

      If set as a task property, the task property takes precedence.

      戻り値:
      service-config xml path
    • getTaskRuntimeClasspath

      @Internal protected org.gradle.api.file.FileCollection getTaskRuntimeClasspath()
      Get task runtime classpath.

      If the classpath is set in the RootPluginExtension extension, it takes precedence.

      戻り値:
      runtime classpath