クラス 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
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 -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明protected voidconfigureJavaExecSpec(org.gradle.process.JavaExecSpec spec) Configure Java execution settings.protected TcreateToolsBatchConfig(Properties props) Create ToolsBatchTaskConfig instance.protected Tget a configuration instance.protected <V> voidIf the value exists, the process is executed.protected PropertiesloadProperties(String taskName) 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) クラスからコピーされた説明:JavaBatchTaskConfigure Java execution settings.- 定義:
configureJavaExecSpecクラス内JavaBatchTask- パラメータ:
spec- JavaExecSpec
-
ifExists
If the value exists, the process is executed.- 型パラメータ:
V- value type.- パラメータ:
value- the value.process- execute process.
-
getTaskConfig
get a configuration instance.- 戻り値:
- configuration instance.
-
createToolsBatchConfig
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
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.
-