public abstract static class Operation.InfoAndRule extends java.lang.Object implements Operation.IInfo, PrimitiveFactory<Operation>
Constructor and Description |
---|
Operation.InfoAndRule(java.lang.Class<?> opClass,
java.lang.String name,
ArgumentDecls decls) |
Operation.InfoAndRule(java.lang.Class<?> opClass,
java.lang.String name,
ArgumentDecls decls,
Operation.Shortcuts shortcuts) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public Operation.InfoAndRule(java.lang.Class<?> opClass, java.lang.String name, ArgumentDecls decls, Operation.Shortcuts shortcuts)
public Operation.InfoAndRule(java.lang.Class<?> opClass, java.lang.String name, ArgumentDecls decls)
public final java.lang.String getName()
Operation.IInfo
getName
in interface Operation.IInfo
public final boolean isSupported(Operation op)
Operation.IInfo
isSupported
in interface Operation.IInfo
op
- An operation object.public final PrimitiveBuilder<Operation> createBuilder()
createBuilder
in interface Operation.IInfo
public final PrimitiveBuilder<Operation> createBuilderForShortcut(java.lang.String contextName)
createBuilderForShortcut
in interface Operation.IInfo