Class MetadataCommandArgument
java.lang.Object
com.adaptris.core.services.system.MetadataCommandArgument
- All Implemented Interfaces:
CommandArgument
Provides the metadata value associated with the specified key as a command line argument
In the adapter configuration file this class is aliased as system-command-metadata-argument which is the preferred alternative to the fully qualified classname when building your configuration.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MetadataCommandArgument
public MetadataCommandArgument() -
MetadataCommandArgument
-
-
Method Details
-
retrieveValue
- Specified by:
retrieveValue
in interfaceCommandArgument
- Parameters:
msg
- theAdaptrisMessage
- Returns:
- the value for this argument
-
getKey
-
setKey
The metadata key to be dereferenced- Parameters:
key
-
-