static void enableAttribute(ModelNode model) {
        Date enabledTime = new Date();
        DateFormat df = new SimpleDateFormat(DATEFORMAT_ATTR);
        model.get(DeploymentAttributes.ENABLED_TIME.getName()).set(enabledTime.getTime());
        model.get(DeploymentAttributes.ENABLED_TIMESTAMP.getName()).set(df.format(enabledTime));
    }
static void enableAttribute ( ModelNode model ) { Date enabledTime = new Date ( ) ; DateFormat df = new SimpleDateFormat ( DATEFORMAT_ATTR ) ; model . get ( DeploymentAttributes . ENABLED_TIME . getName ( ) ) . set ( enabledTime . getTime ( ) ) ; model . get ( DeploymentAttributes . ENABLED_TIMESTAMP . getName ( ) ) . set ( df . format ( enabledTime ) ) ; }
Set the enabled-time{stamp} attribute of deployment to the current timestamp. Useful to track the deployment enable events.

@param model