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 |
---|---|
java.util.Map<java.lang.String,OperationBuilder> |
createBuilders() |
java.util.Map<java.lang.String,OperationBuilder> |
createBuildersForShortcut(java.lang.String contextName) |
java.util.Collection<MetaOperation> |
getMetaData()
Returns a collection of meta data objects describing the operation (or the group of
operations) the info object refers to.
|
MetaGroup |
getMetaDataGroup() |
java.lang.String |
getName()
Returns the name of the operation or the name of the OR rule used for grouping operations.
|
boolean |
isRoot()
Checks whether the current operation is a root.
|
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 isRoot()
Operation.IInfo
isRoot
in interface Operation.IInfo
true
if it is a root operation or false
otherwise.public boolean isSupported(Operation op)
Operation.IInfo
isSupported
in interface Operation.IInfo
op
- An operation object.public java.util.Collection<MetaOperation> getMetaData()
Operation.IInfo
getMetaData
in interface Operation.IInfo
public java.util.Map<java.lang.String,OperationBuilder> createBuilders()
createBuilders
in interface Operation.IInfo
public java.util.Map<java.lang.String,OperationBuilder> createBuildersForShortcut(java.lang.String contextName)
createBuildersForShortcut
in interface Operation.IInfo
public MetaGroup getMetaDataGroup()