Class LoggingOperations.LoggingUpdateOperationStepHandler

    • Constructor Detail

      • LoggingUpdateOperationStepHandler

        protected LoggingUpdateOperationStepHandler​(AttributeDefinition... attributes)
    • Method Detail

      • updateModel

        public void updateModel​(OperationContext context,
                                org.jboss.dmr.ModelNode operation,
                                org.jboss.dmr.ModelNode model)
                         throws OperationFailedException
        Updates the model based on the operation.
        Parameters:
        context - the operation context
        operation - the operation being executed
        model - the model to update
        Throws:
        OperationFailedException - if a processing error occurs
      • performRuntime

        public abstract void performRuntime​(OperationContext context,
                                            org.jboss.dmr.ModelNode operation,
                                            org.jboss.dmr.ModelNode model,
                                            org.jboss.logmanager.config.LogContextConfiguration logContextConfiguration)
                                     throws OperationFailedException
        Executes additional processing for this step.
        Parameters:
        context - the operation context
        operation - the operation being executed
        model - the model to update
        logContextConfiguration - the logging context configuration
        Throws:
        OperationFailedException - if a processing error occurs
      • recordCapabilitiesAndRequirements

        protected void recordCapabilitiesAndRequirements​(OperationContext context,
                                                         Resource resource,
                                                         AttributeDefinition attributeDefinition,
                                                         org.jboss.dmr.ModelNode newValue,
                                                         org.jboss.dmr.ModelNode oldValue)