public class OperationUtil extends Object
Operations.| Constructor and Description |
|---|
OperationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasCommitOperation(org.ocpsoft.rewrite.config.Operation operation)
Indicates whether the operation contains any
Commit operations. |
static boolean |
hasIterationProgress(org.ocpsoft.rewrite.config.Operation operation)
Indicates whether the operation contains any
IterationProgress operations. |
static boolean |
hasOperationType(org.ocpsoft.rewrite.config.Operation operation,
Class<? extends org.ocpsoft.rewrite.config.Operation> operationType)
Indicates whether or not the provided
Operation is or contains any Operations of the specified type. |
public static boolean hasOperationType(org.ocpsoft.rewrite.config.Operation operation,
Class<? extends org.ocpsoft.rewrite.config.Operation> operationType)
Operation is or contains any Operations of the specified type. This will recursively
check all of the suboperations on CompositeOperations as well.public static boolean hasCommitOperation(org.ocpsoft.rewrite.config.Operation operation)
Commit operations.public static boolean hasIterationProgress(org.ocpsoft.rewrite.config.Operation operation)
IterationProgress operations.Copyright © 2021 JBoss by Red Hat. All rights reserved.