クラス 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
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 voidImplement post-task execution processing as needed.protected voidImplement task execution pre-processing as needed.protected voidconfigureJavaExecSpecOnTaskAction(org.gradle.process.JavaExecSpec spec) Configure Java execution settings on task action.voidexec()protected StringGet display language.protected abstract org.gradle.api.provider.Property<String> Get service-config xml path.protected StringGet service-config xml path.protected org.gradle.api.file.FileCollectionGet task runtime classpath.voidonConfigureTask(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
Get service-config xml path.File path or classpath resource.
- 戻り値:
- service-config xml path
-
onConfigureTask
public void onConfigureTask(org.gradle.api.Project project) クラスからコピーされた説明:AbstractTaskCalled 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
Get display language.Default value: "system"
- 戻り値:
- display language
-
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
RootPluginExtensionextension, it takes precedence.- 戻り値:
- runtime classpath
-