public class SupplierBasedCdtVariableSubstitutor extends Object implements IVariableSubstitutor
Modifier and Type | Class and Description |
---|---|
protected class |
SupplierBasedCdtVariableSubstitutor.MacroDescriptor |
protected class |
SupplierBasedCdtVariableSubstitutor.ResolvedMacro |
Constructor and Description |
---|
SupplierBasedCdtVariableSubstitutor(IVariableContextInfo contextInfo,
String inexistentMacroValue,
String listDelimiter) |
SupplierBasedCdtVariableSubstitutor(IVariableContextInfo contextInfo,
String inexistentMacroValue,
String listDelimiter,
Map<?,?> delimiterMap,
String incorrectlyReferencedMacroValue) |
public SupplierBasedCdtVariableSubstitutor(IVariableContextInfo contextInfo, String inexistentMacroValue, String listDelimiter)
public SupplierBasedCdtVariableSubstitutor(IVariableContextInfo contextInfo, String inexistentMacroValue, String listDelimiter, Map<?,?> delimiterMap, String incorrectlyReferencedMacroValue)
protected String resolveToString(SupplierBasedCdtVariableSubstitutor.MacroDescriptor des) throws CdtVariableException
CdtVariableException
protected String[] resolveToStringList(SupplierBasedCdtVariableSubstitutor.MacroDescriptor des) throws CdtVariableException
CdtVariableException
public String resolveToString(String macroName) throws CdtVariableException
IVariableSubstitutor
resolveToString
in interface IVariableSubstitutor
macroName
- the macro nameCdtVariableException
public void setMacroContextInfo(IVariableContextInfo info) throws CdtVariableException
CdtVariableException
protected SupplierBasedCdtVariableSubstitutor.ResolvedMacro getResolvedMacro(SupplierBasedCdtVariableSubstitutor.MacroDescriptor des) throws CdtVariableException
CdtVariableException
protected SupplierBasedCdtVariableSubstitutor.ResolvedMacro resolveMacro(SupplierBasedCdtVariableSubstitutor.MacroDescriptor des) throws CdtVariableException
CdtVariableException
public String[] resolveToStringList(String macroName) throws CdtVariableException
IVariableSubstitutor
resolveToStringList
in interface IVariableSubstitutor
macroName
- the macro nameCdtVariableException
protected SupplierBasedCdtVariableSubstitutor.ResolvedMacro resolveMacro(String macroName) throws CdtVariableException
CdtVariableException
protected SupplierBasedCdtVariableSubstitutor.ResolvedMacro resolveParentMacro(SupplierBasedCdtVariableSubstitutor.MacroDescriptor macroDes) throws CdtVariableException
CdtVariableException
protected SupplierBasedCdtVariableSubstitutor.ResolvedMacro resolveMacro(ICdtVariable macro) throws CdtVariableException
CdtVariableException
protected void addResolvedMacro(SupplierBasedCdtVariableSubstitutor.MacroDescriptor des, SupplierBasedCdtVariableSubstitutor.ResolvedMacro value)
protected SupplierBasedCdtVariableSubstitutor.ResolvedMacro removeResolvedMacro(String name)
public IVariableContextInfo getMacroContextInfo()
public void reset() throws CdtVariableException
CdtVariableException
public Map<?,?> getDelimiterMap()
public void setDelimiterMap(Map<?,?> delimiterMap) throws CdtVariableException
CdtVariableException
public String getIncorrectlyReferencedMacroValue()
public void setIncorrectlyReferencedMacroValue(String incorrectlyReferencedMacroValue) throws CdtVariableException
CdtVariableException
public String getInexistentMacroValue()
public void setInexistentMacroValue(String inexistentMacroValue) throws CdtVariableException
CdtVariableException
public String getListDelimiter()
public void setListDelimiter(String listDelimiter) throws CdtVariableException
CdtVariableException
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.