public class MigrationAction extends AbstractModel
Constructor and Description |
---|
MigrationAction() |
MigrationAction(MigrationAction source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getAllAction()
Get 支持的所有操作,值包括:view(查看任务) ,modify(修改任务), start(启动任务),incremental(创建增量任务),delete(删除任务),upload(获取上传权限)。
|
String[] |
getAllowedAction()
Get 当前状态允许的操作,AllAction的子集,为空表示禁止所有操作
|
void |
setAllAction(String[] AllAction)
Set 支持的所有操作,值包括:view(查看任务) ,modify(修改任务), start(启动任务),incremental(创建增量任务),delete(删除任务),upload(获取上传权限)。
|
void |
setAllowedAction(String[] AllowedAction)
Set 当前状态允许的操作,AllAction的子集,为空表示禁止所有操作
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public MigrationAction()
public MigrationAction(MigrationAction source)
public String[] getAllAction()
public void setAllAction(String[] AllAction)
AllAction
- 支持的所有操作,值包括:view(查看任务) ,modify(修改任务), start(启动任务),incremental(创建增量任务),delete(删除任务),upload(获取上传权限)。public String[] getAllowedAction()
public void setAllowedAction(String[] AllowedAction)
AllowedAction
- 当前状态允许的操作,AllAction的子集,为空表示禁止所有操作Copyright © 2021. All rights reserved.