Package org.jboss.as.logging.resolvers
Class LevelResolver
- java.lang.Object
-
- org.jboss.as.logging.resolvers.LevelResolver
-
- All Implemented Interfaces:
ModelNodeResolver<String>
public class LevelResolver extends Object implements ModelNodeResolver<String>
Date: 15.12.2011- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static LevelResolverINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringresolveValue(OperationContext context, org.jboss.dmr.ModelNode value)Formats the attribute to the desired type.
-
-
-
Field Detail
-
INSTANCE
public static final LevelResolver INSTANCE
-
-
Method Detail
-
resolveValue
public String resolveValue(OperationContext context, org.jboss.dmr.ModelNode value) throws OperationFailedException
Description copied from interface:ModelNodeResolverFormats the attribute to the desired type.- Specified by:
resolveValuein interfaceModelNodeResolver<String>- Parameters:
context- the operation contextvalue- the value to format- Returns:
- the formatted value
- Throws:
OperationFailedException- if an error occurs
-
-