public void setStates(final List<AbstractStateModel> states) {
        this.flowModel.setStates(new LinkedList<>(states));
    }
Sets states.

@param states the states
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/configurer/DynamicFlowModelBuilder.java