Class MigrationAction

    • Constructor Detail

      • MigrationAction

        public MigrationAction()
      • MigrationAction

        public 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.
    • Method Detail

      • getAllAction

        public String[] getAllAction()
        Get 支持的所有操作,值包括:view(查看任务) ,modify(修改任务), start(启动任务),incremental(创建增量任务),delete(删除任务),upload(获取上传权限)。
        Returns:
        AllAction 支持的所有操作,值包括:view(查看任务) ,modify(修改任务), start(启动任务),incremental(创建增量任务),delete(删除任务),upload(获取上传权限)。
      • setAllAction

        public void setAllAction​(String[] AllAction)
        Set 支持的所有操作,值包括:view(查看任务) ,modify(修改任务), start(启动任务),incremental(创建增量任务),delete(删除任务),upload(获取上传权限)。
        Parameters:
        AllAction - 支持的所有操作,值包括:view(查看任务) ,modify(修改任务), start(启动任务),incremental(创建增量任务),delete(删除任务),upload(获取上传权限)。
      • getAllowedAction

        public String[] getAllowedAction()
        Get 当前状态允许的操作,AllAction的子集,为空表示禁止所有操作
        Returns:
        AllowedAction 当前状态允许的操作,AllAction的子集,为空表示禁止所有操作
      • setAllowedAction

        public void setAllowedAction​(String[] AllowedAction)
        Set 当前状态允许的操作,AllAction的子集,为空表示禁止所有操作
        Parameters:
        AllowedAction - 当前状态允许的操作,AllAction的子集,为空表示禁止所有操作