public abstract class Task extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Task.Properties
Task properties
|
static class |
Task.Property
Task property
|
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
String |
getCommandText()
获取 Task 命令信息
|
String |
getComment()
获取注释信息
|
String |
getName()
获取
Task 的名称 |
Map<String,String> |
getProperties()
获取所有配置信息
|
void |
setComment(String comment)
设置注释信息
|
void |
setName(String name)
设置
Task 的名称 |
void |
setProperties(Map<String,String> properties)
设置所有配置信息
|
void |
setProperty(String name,
String value)
设置配置
|
public String getComment()
public void setComment(String comment)
comment
- 注释信息public final void setProperties(Map<String,String> properties)
properties
- 配置项名称public void setProperty(String name, String value)
name
- 配置项名称value
- 配置项的值public String getCommandText()
Copyright © 2024 Alibaba Cloud Computing. All rights reserved.