use of com.serotonin.m2m2.vo.AbstractActionVO in project ma-core-public by infiniteautomation.
the class AbstractRTDwr method getCopy.
@SuppressWarnings("unchecked")
@DwrPermission(user = true)
@Override
public ProcessResult getCopy(int id) {
ProcessResult response = super.getCopy(id);
// Ensure he isn't running
((AbstractActionVO<?>) response.getData().get("vo")).setEnabled(false);
return response;
}
Aggregations