Class OperationUtil
- java.lang.Object
-
- org.jboss.windup.config.operation.OperationUtil
-
public class OperationUtil extends Object
Contains useful functions for operating on RewriteOperations.- Author:
- Jesse Sightler
-
-
Constructor Summary
Constructors Constructor Description OperationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasCommitOperation(org.ocpsoft.rewrite.config.Operation operation)Indicates whether the operation contains anyCommitoperations.static booleanhasIterationProgress(org.ocpsoft.rewrite.config.Operation operation)Indicates whether the operation contains anyIterationProgressoperations.static booleanhasOperationType(org.ocpsoft.rewrite.config.Operation operation, Class<? extends org.ocpsoft.rewrite.config.Operation> operationType)Indicates whether or not the providedOperationis or contains anyOperations of the specified type.
-
-
-
Method Detail
-
hasOperationType
public static boolean hasOperationType(org.ocpsoft.rewrite.config.Operation operation, Class<? extends org.ocpsoft.rewrite.config.Operation> operationType)Indicates whether or not the providedOperationis or contains anyOperations of the specified type. This will recursively check all of the suboperations onCompositeOperations as well.
-
hasCommitOperation
public static boolean hasCommitOperation(org.ocpsoft.rewrite.config.Operation operation)
Indicates whether the operation contains anyCommitoperations.
-
hasIterationProgress
public static boolean hasIterationProgress(org.ocpsoft.rewrite.config.Operation operation)
Indicates whether the operation contains anyIterationProgressoperations.
-
-