要获取可用生命周期操作以便转换资产的状态,请使用 RAMAsset.getAvailableActions()。
//Get the available lifecycle actions RAMAction[] actions = newAsset.getAvailableActions();