uk.ac.ncl.cs.instantsoap.commandlineprocessor.parameterRenaming
Class ParameterRenamerImpl
java.lang.Object
uk.ac.ncl.cs.instantsoap.commandlineprocessor.parameterRenaming.ParameterRenamerImpl
- All Implemented Interfaces:
- ParameterRenamer
public class ParameterRenamerImpl
- extends Object
- implements ParameterRenamer
Simple implementation of ParameterRenamer.
- Author:
- Matthew Pocock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterRenamerImpl
public ParameterRenamerImpl()
renameInputs
public Map<String,String> renameInputs(Map<String,String> inputRenaming,
Map<String,String> inputs)
throws JobExecutionException
- Description copied from interface:
ParameterRenamer
- Rename inputs from external to internal names.
- Specified by:
renameInputs
in interface ParameterRenamer
- Parameters:
inputRenaming
- a Map
from public to private namesinputs
- a Map
of inputs to rename
- Returns:
- the renamed inputs
- Throws:
JobExecutionException
renameOutputs
public Map<String,String> renameOutputs(Map<String,String> outputRenaming,
Map<String,String> results)
throws JobExecutionException
- Description copied from interface:
ParameterRenamer
- Rename outputs from internal to external names.
- Specified by:
renameOutputs
in interface ParameterRenamer
- Returns:
- the renamed outputs
- Throws:
JobExecutionException
Copyright © 2006-2008. All Rights Reserved.