public static final class Operation.InfoOrRule extends java.lang.Object implements Operation.IInfo
Constructor and Description |
---|
Operation.InfoOrRule(java.lang.String name,
Operation.IInfo... childs) |
Modifier and Type | Method and Description |
---|---|
PrimitiveBuilder<Operation> |
createBuilder() |
PrimitiveBuilder<Operation> |
createBuilderForShortcut(java.lang.String contextName) |
java.lang.String |
getName()
Returns the name of the operation or the name of the OR rule used for grouping operations.
|
boolean |
isSupported(Operation op)
Checks if the current operation (or group of operations) implements (or contains) the
specified operation.
|
public Operation.InfoOrRule(java.lang.String name, Operation.IInfo... childs)
public java.lang.String getName()
Operation.IInfo
getName
in interface Operation.IInfo
public boolean isSupported(Operation op)
Operation.IInfo
isSupported
in interface Operation.IInfo
op
- An operation object.public PrimitiveBuilder<Operation> createBuilder()
createBuilder
in interface Operation.IInfo
public PrimitiveBuilder<Operation> createBuilderForShortcut(java.lang.String contextName)
createBuilderForShortcut
in interface Operation.IInfo