Class DefaultResourceActions.ValidatingMove<R>

java.lang.Object
com.inductiveautomation.ignition.gateway.config.actions.DefaultResourceActions.MoveImpl
com.inductiveautomation.ignition.gateway.config.actions.DefaultResourceActions.ValidatingMove<R>
Type Parameters:
R - This must be the config class object used for this ResourceTypeMeta
All Implemented Interfaces:
ResourceAction, ResourceAction.Move
Enclosing class:
DefaultResourceActions

public static final class DefaultResourceActions.ValidatingMove<R> extends DefaultResourceActions.MoveImpl
Performs the default Move operation but allows for validation of the resource prior to the resource being committed to the configuration system to be persisted. This means that a DefaultResourceActions.MoveResource is provided to the supplied validator which contains a DecodedResource instance of the resource which does incur some overhead since this resource has to be decoded. It is expected that these validations are also fairly light-weight as this occurs during user interaction from the Web API or the Rest API.