public final class MetaShortcut extends java.lang.Object implements MetaData
Constructor and Description |
---|
MetaShortcut(java.lang.String contextName,
MetaOperation operation)
Creates a shortcut object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContextName()
Returns the context identifier that describes the operation that can be parameterized with (can
refer to) the given shortcut operation.
|
java.lang.String |
getName()
Returns the shortcut name.
|
MetaOperation |
getOperation()
Returns a metadata object describing the signature of the shortcut operation.
|
public MetaShortcut(java.lang.String contextName, MetaOperation operation)
contextName
- Context identifier.operation
- Description of the shortcut operation signature.java.lang.IllegalArgumentException
- if any of the arguments is null
.public java.lang.String getName()
public java.lang.String getContextName()
public MetaOperation getOperation()