Package org.jboss.as.logging.correctors
Class FileCorrector
- java.lang.Object
-
- org.jboss.as.logging.correctors.FileCorrector
-
- All Implemented Interfaces:
ParameterCorrector
public class FileCorrector extends Object implements ParameterCorrector
Corrects therelative-toattribute. Checks thepathattribute for an absolute path. If the path is absolute, the currentrelative-toattribute is not copied over. If the path is not absolute the currentrelative-toattribute is copied over. Date: 29.11.2011- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static FileCorrectorINSTANCE
-
Constructor Summary
Constructors Constructor Description FileCorrector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.dmr.ModelNodecorrect(org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode currentValue)
-
-
-
Field Detail
-
INSTANCE
public static final FileCorrector INSTANCE
-
-
Method Detail
-
correct
public org.jboss.dmr.ModelNode correct(org.jboss.dmr.ModelNode newValue, org.jboss.dmr.ModelNode currentValue)- Specified by:
correctin interfaceParameterCorrector
-
-