Package org.jboss.as.server.operations
Class CleanObsoleteContentHandler
- java.lang.Object
-
- org.jboss.as.server.operations.CleanObsoleteContentHandler
-
- All Implemented Interfaces:
OperationStepHandler
public class CleanObsoleteContentHandler extends Object implements OperationStepHandler
Handler to clean obsolete contents from the content repository.- Author:
- Emmanuel Hugonnet (c) 2014 Red Hat, inc.
-
-
Field Summary
Fields Modifier and Type Field Description static SimpleOperationDefinitionDEFINITIONstatic StringOPERATION_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CleanObsoleteContentHandlercreateOperation(ContentRepository contentRepository)voidexecute(OperationContext context, org.jboss.dmr.ModelNode operation)
-
-
-
Field Detail
-
OPERATION_NAME
public static final String OPERATION_NAME
- See Also:
- Constant Field Values
-
DEFINITION
public static final SimpleOperationDefinition DEFINITION
-
-
Method Detail
-
createOperation
public static CleanObsoleteContentHandler createOperation(ContentRepository contentRepository)
-
execute
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
- Specified by:
executein interfaceOperationStepHandler- Throws:
OperationFailedException
-
-