クラス BuildInfo
java.lang.ObjectSE
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.springframework.boot.gradle.tasks.buildinfo.BuildInfo
- 実装されているすべてのインターフェース:
ComparableSE<Task>、org.gradle.api.internal.DynamicObjectAware、org.gradle.api.internal.TaskInternal、ExtensionAware、Task、Configurable<Task>
@DisableCachingByDefault(because="Not worth caching")
public abstract class BuildInfo
extends DefaultTask
- 導入:
- 2.0.0
- 作成者:
- Andy Wilkinson
ネストされたクラスの要約
インターフェース org.gradle.api.Task から継承されたネストクラス / インターフェース
Task.Namerフィールドのサマリー
インターフェース org.gradle.api.Task から継承されたフィールド
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPEコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void構成されたdestinationにbuild-info.propertiesファイルを生成します。abstract DirectoryPropertybuild-info.propertiesファイルが書き込まれるディレクトリを返します。abstract SetProperty<StringSE>出力から除外するプロパティの名前を返します。build-info.propertiesファイルに含まれるpropertiesを返します。voidproperties(Action<BuildInfoProperties> action) getProperties()プロパティで指定されたactionを実行します。クラス 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 から継承されたメソッド
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クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.gradle.api.Task から継承されたメソッド
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
コンストラクターの詳細
BuildInfo
public BuildInfo()
メソッドの詳細
getExcludes
出力から除外するプロパティの名前を返します。- 戻り値:
- 除外するプロパティの名前
- 導入:
- 3.0.0
generateBuildProperties
public void generateBuildProperties()構成されたdestinationにbuild-info.propertiesファイルを生成します。getDestinationDir
build-info.propertiesファイルが書き込まれるディレクトリを返します。- 戻り値:
- 宛先ディレクトリ
getProperties
build-info.propertiesファイルに含まれるpropertiesを返します。- 戻り値:
- プロパティ
properties
getProperties()プロパティで指定されたactionを実行します。- パラメーター:
action- アクション