public interface Task extends Launchable
Note: Task extends Launchable since 1.12.
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getDescription()
Returns the description of this task, or
null if it has no description. |
String |
getName()
Returns the name of this task.
|
String |
getPath()
Returns the path of this task.
|
Element |
getProject()
非推奨です。
Do not use this method. It is assumed that the caller already has a reference to owning project.
|
getDisplayName, isPublicString getPath()
String getName()
@Nullable String getDescription()
null if it has no description.getDescription インタフェース内 Launchablenull if it has no description.@Deprecated Element getProject()
UnsupportedMethodException - From 1.12 for implementations that do not also implement GradleTask.